Mike....ok, sorry to be acting so dense ;o) Here it is:
[root@obi-wan /root]# fdisk /dev/sda
The number of cylinders for this disk is set to 1106.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 261 705 3574431 b Win95 FAT32
/dev/sda2 706 1106 3221032+ f Win95 Ext'd (LBA)
/dev/sda3 1 156 1253038+ 83 Linux
/dev/sda4 157 260 835380 83 Linux
/dev/sda5 706 708 24066 83 Linux
/dev/sda6 709 724 128488+ 82 Linux swap
/dev/sda7 725 1106 3068383+ 83 Linux
Command (m for help): q
[root@obi-wan /root]#
FYI, sda1 is Win98, sda2 is the extended partition that contains sda5-7,
sda3 is the former Winnt partition that I made into a new / for a new
Mandrake installation (using sda5 for /boot & sda6 for swap), sda4 is
Peanut-Linux, and sda5-7 is the old Mandrake installation.
Well it sounds like I may be at the point now in which to try your
repartitioning trick. I, of course, don't have a previous printout of
anything and, in fact, don't understand the second part (after the and)
of what you said about previously printing out. What's /sbin/sd__
mean? Anyway, any tricks to know about? You mean to delete the sda7
partition and reinstate it with the same values and maybe the
superblocks created will work for the new partition with the old
formatting and data (if the data is still there).
Alan
Mike Fieschko wrote:
>
> >>> "Alan" == Alan Shoemaker <[EMAIL PROTECTED]> writes:
>
> Alan> Mike.....it's id'd as an ext2 (type x83) with 6,136,767
> Alan> sectors from sector 11,631,123 to sector 17,767,889.
>
> [snip]
>
> >> Are the values returned by this invocation of fdisk correct?
>
> OK. I was looking for something more like this example from
> /sbin/fdisk /dev/hda on my machine:
>
> Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 52 1027 7839720 5 Extended
> /dev/hda2 * 1 51 409626 6 FAT16
> /dev/hda5 * 52 128 618471 7 HPFS/NTFS
> /dev/hda6 * 129 205 618471 7 HPFS/NTFS
> /dev/hda7 * 1027 1027 8001 7 HPFS/NTFS
> /dev/hda8 * 206 460 2048256 83 Linux
> /dev/hda9 * 461 524 514048+ 83 Linux
> /dev/hda10 * 525 588 514048+ 83 Linux
> /dev/hda11 * 589 652 514048+ 82 Linux swap
> /dev/hda12 * 653 678 208813+ 83 Linux
> /dev/hda13 * 679 1023 2771181 83 Linux
>
> And, my question about whether the values returned are correct
> referred to the "Start" and "End" values.
>
> If the values are not correct, _and_ _you_ _know_ _the_ _correct_
> _values_, by repartitioning the disk with the correct (previous) start
> and end values, you may be able to save the data on the partition
> which will not mount.
>
> This is a last-ditch, nothing-else-works method. I have had to do it
> at least once, and by having previously printing out the values
> returned by
>
> /sbin/fdisk /dev/hd__ and
> /sbin/sd__
>
> I was able to restore the partitions.
>
> --
> Mike Fieschko, West Orange, NJ, USA
> X-Mailer: XEmacs 21.1, VM 6.75 and random-sig.el
> Kernel 2.2.14-15mdk
> http://www.viconet.com/fieschko/home.htm
> Jan 8 St Severin
> "The riddles of God are more satisfying than the solutions of man." -
> [G.K. Chesterton, in Introduction to the Book of Job, 1907]