From: Riccardo on 18 May 2010 15:41 On 18 Mag, 16:19, Pascal Hambourg <boite-a-s...(a)plouf.fr.eu.org> wrote: > Hello, > > Robert Nichols a écrit : > > > > > Your extended partition (hda4) currently ends at cylinder 4427. You > > need to grow the extended partition to include the rest of the disk. > > Indeed, there can be only 4 primary partitions including the extended > partition. > > > You can use gparted (and probably other tools) to do that safely. > > For instance cfdisk will automatically enlarge the extended partition > when adding logical partitions. HD is 80 GB and I clone my original disk (40 GB) to this one which is 80 GB so it likes HD was 40 GB.
From: unruh on 18 May 2010 16:26 On 2010-05-18, Riccardo <ric.castellani(a)alice.it> wrote: > On 18 Mag, 16:19, Pascal Hambourg <boite-a-s...(a)plouf.fr.eu.org> > wrote: >> Hello, >> >> Robert Nichols a ?crit : >> >> >> >> > Your extended partition (hda4) currently ends at cylinder 4427. ?You >> > need to grow the extended partition to include the rest of the disk. >> >> Indeed, there can be only 4 primary partitions including the extended >> partition. >> >> > You can use gparted (and probably other tools) to do that safely. >> >> For instance cfdisk will automatically enlarge the extended partition >> when adding logical partitions. > > HD is 80 GB and I clone my original disk (40 GB) to this one which is > 80 GB so it likes HD was 40 GB. You cloned it badly, probably with dd. This would have overwritten the partition table of the 80G with that of the 40G disk. Much better is to copy with rsync. Set up the partitions on the new disk and then copy everything over with rsync. A bit slower, but it MD5 tests to make sure the transfered file is identical to the original file. Never just clone a drive.
From: Grant on 18 May 2010 17:37 On Tue, 18 May 2010 12:41:25 -0700 (PDT), Riccardo <ric.castellani(a)alice.it> wrote: >On 18 Mag, 16:19, Pascal Hambourg <boite-a-s...(a)plouf.fr.eu.org> >wrote: >> Hello, >> >> Robert Nichols a écrit : >> >> >> >> > Your extended partition (hda4) currently ends at cylinder 4427. You >> > need to grow the extended partition to include the rest of the disk. >> >> Indeed, there can be only 4 primary partitions including the extended >> partition. >> >> > You can use gparted (and probably other tools) to do that safely. >> >> For instance cfdisk will automatically enlarge the extended partition >> when adding logical partitions. > >HD is 80 GB and I clone my original disk (40 GB) to this one which is >80 GB so it likes HD was 40 GB. In that case, you just need to make the extended partition larger, as another poster suggested. This will not lose any data and allow you to create more logical partitions. Your current table: > Device Boot Start End Blocks Id System >/dev/hda1 * 1 255 2048256 83 Linux >/dev/hda2 256 765 4096575 83 Linux >/dev/hda3 766 1275 4096575 83 Linux >/dev/hda4 1276 4427 25318440 f Win95 Ext'd (LBA) >/dev/hda5 1276 1785 4096543+ 83 Linux >/dev/hda6 1786 2167 3068383+ 82 Linux swap >/dev/hda7 2168 2422 2048256 83 Linux >/dev/hda8 2423 2677 2048256 83 Linux With fdisk, delete the partitions in reverse order: 8, 7, 6, 5, 4, then recreate 4 extended with same start and new end number; recreate your partitions 5, 6, 7, 8 in order with the _same_ start and end numbers you had before. Now you can create new partitions in the extended area. Remember, nothing is written to the disk until you hit 'w' ;) So take care and start over if you make a mistake. It is important to perform this type of operation in correct order (delete from end to target) to be able to recreate identical partition table layout without disturbing the data areas. Otherwise, clear the drive and do it properly! Always goes faster the second time around :) Grant. -- http://bugs.id.au/
From: Riccardo on 24 May 2010 15:28 On 18 Mag, 23:37, Grant <o...(a)grrr.id.au> wrote: > On Tue, 18 May 2010 12:41:25 -0700 (PDT), Riccardo <ric.castell...(a)alice.it> wrote: > >On 18 Mag, 16:19, Pascal Hambourg <boite-a-s...(a)plouf.fr.eu.org> > >wrote: > >> Hello, > > >> Robert Nichols a écrit : > > >> > Your extended partition (hda4) currently ends at cylinder 4427. You > >> > need to grow the extended partition to include the rest of the disk. > > >> Indeed, there can be only 4 primary partitions including the extended > >> partition. > > >> > You can use gparted (and probably other tools) to do that safely. > > >> For instance cfdisk will automatically enlarge the extended partition > >> when adding logical partitions. > > >HD is 80 GB and I clone my original disk (40 GB) to this one which is > >80 GB so it likes HD was 40 GB. > > In that case, you just need to make the extended partition larger, as > another poster suggested. This will not lose any data and allow you > to create more logical partitions. > > Your current table: > > > Device Boot Start End Blocks Id System > >/dev/hda1 * 1 255 2048256 83 Linux > >/dev/hda2 256 765 4096575 83 Linux > >/dev/hda3 766 1275 4096575 83 Linux > >/dev/hda4 1276 4427 25318440 f Win95 Ext'd (LBA) > >/dev/hda5 1276 1785 4096543+ 83 Linux > >/dev/hda6 1786 2167 3068383+ 82 Linux swap > >/dev/hda7 2168 2422 2048256 83 Linux > >/dev/hda8 2423 2677 2048256 83 Linux > > With fdisk, delete the partitions in reverse order: 8, 7, 6, 5, 4, > then recreate 4 extended with same start and new end number; recreate > your partitions 5, 6, 7, 8 in order with the _same_ start and end > numbers you had before. > > Now you can create new partitions in the extended area. > > Remember, nothing is written to the disk until you hit 'w' ;) So take > care and start over if you make a mistake. It is important to perform > this type of operation in correct order (delete from end to target) to > be able to recreate identical partition table layout without disturbing > the data areas. > > Otherwise, clear the drive and do it properly! Always goes faster the > second time around :) > > Grant. > --http://bugs.id.au/ Are you sure ?
From: Grant on 24 May 2010 16:41 On Mon, 24 May 2010 12:28:50 -0700 (PDT), Riccardo <ric.castellani(a)alice.it> wrote: >On 18 Mag, 23:37, Grant <o...(a)grrr.id.au> wrote: .... >Are you sure ? Sure of what? I'm confident using Linux' fdisk in partition table management, until the drive is larger than 2TB, then it's a whole different ballgame ;) Grant. -- http://bugs.id.au/
First
|
Prev
|
Pages: 1 2 Prev: Sendmail SMTPAuth vs. /etc/mail/access Next: mysql-server Upgrade Fails |