<div dir="ltr"><br><br><div class="gmail_quote">2008/10/11 Michal Jaegermann <span dir="ltr"><<a href="mailto:michal@harddata.com">michal@harddata.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Sat, Oct 11, 2008 at 02:06:47PM -0400, Chuck Anderson wrote:<br>
><br>
> On Sat, Oct 11, 2008 at 08:25:29PM +0300, cornel panceac wrote:<br>
> > 2008/10/11 Chuck Forsberg WA7KGX N2469R <<a href="mailto:caf@omen.com">caf@omen.com</a>><br>
> ><br>
> > > Here is the fdisk printout for the "offending" partition table.<br>
> > > The MBR boots to sda8 (openSUSE).<br>
> > ><br>
> > > Disk /dev/sda: 250.0 GB, 250059350016 bytes<br>
> > > 255 heads, 63 sectors/track, 30401 cylinders<br>
> > > Units = cylinders of 16065 * 512 = 8225280 bytes<br>
> > > Disk identifier: 0xe4c0e4c0<br>
> > ><br>
> > > Device Boot Start End Blocks Id System<br>
> > > /dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS<br>
> > > /dev/sda2 6375 6505 1052257+ 83 Linux<br>
> > > /dev/sda3 6506 24379 143572905 f W95 Ext'd (LBA)<br>
> > > /dev/sda4 19259 21808 20482875 83 Linux<br>
> > > /dev/sda5 6506 6897 3148708+ 82 Linux swap /<br>
> > > Solaris<br>
> > > /dev/sda6 6898 9508 20972826 83 Linux<br>
> > > /dev/sda7 9509 11941 19543041 83 Linux<br>
> > > /dev/sda8 11942 15588 29294496 83 Linux<br>
> > > /dev/sda9 15589 18020 19535008+ 83 Linux<br>
> > > /dev/sda10 18021 19258 9944203+ 83 Linux<br>
> > > /dev/sda11 21809 24379 20651526 83 Linux<br>
> ><br>
> > you have a primary partition over an extended?<br>
><br>
> Yes, this looks like a broken partition table with overlapping<br>
> partitions.<br>
<br>
</div></div>Not necessarily. /dev/sda4 sits between sda10 and sda11 but<br>
/dev/sda3 is extended. Things are out of order and that may be<br>
not to liking of some tools.<br>
<div class="Ih2E3d"><br>
> This might<br>
> be fixable by moving sda4 to the extended partition, in which case it<br>
> would become sda11 and sda11 would become sda12, but it may be tricky<br>
> to do it.<br>
<br>
</div>Nah! This shold be very simple to do. Redirect an output<br>
of 'sfdisk -d /dev/sda' to a file, edit results to put that<br>
into an order and feed that to sfdisk back. This should be it.<br>
Rewrites of partition tables do not touch file systems although<br>
fstab may need some fixups depending on how it was done.<br>
<br>
Keep a copy of an original ouput from 'sfdisk -d /dev/sda'<br>
(or even better an image of the current partition table too)<br>
in case you messed something and you need to restore<br>
the current state.</blockquote><div><br>nice trick, michal. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888"><br>
Michal<br>
</font><div><div></div><div class="Wj3C7c"><br>
--<br>
fedora-test-list mailing list<br>
<a href="mailto:fedora-test-list@redhat.com">fedora-test-list@redhat.com</a><br>
To unsubscribe:<br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-test-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-test-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Linux counter #213090<br>
</div>