In the following HOWTO:
http://www.linuxdoc.org/HOWTO/mini/Partition-Rescue/x67.html
I see that the result of fdisk gives a listing of the following format:
Disk /dev/hdb: 255 heads, 63 sectors, 523 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 153 1228941 83 Linux
/dev/hdb2 154 166 104422+ 82 Linux swap
/dev/hdb3 * 167 291 1004062+ 83 Linux
/dev/hdb4 295 523 1839442+ 5 Extended
/dev/hdb5 295 422 1028128+ 83 Linux
/dev/hdb6 423 523 811251 6 FAT16
Mine however looks much stranger:
#fdisk -l
Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 3649
cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks
Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 216 1734988+
b Win95 FAT32
/dev/ide/host0/bus0/target0/lun0/part2 217 292 610470
83 Linux
/dev/ide/host0/bus0/target0/lun0/part3 293 2846 20515005
5 Extended
/dev/ide/host0/bus0/target0/lun0/part4 2202 2583 3068415
83 Linux
/dev/ide/host0/bus0/target0/lun0/part5 293 342 401593+
82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part6 343 1106 6136798+
83 Linux
/dev/ide/host0/bus0/target0/lun0/part7 ? 224061 112815 1253901899
29 Unknown
I can't use Linux now.
Do you know where does the problem come from and how I could solve it???
I just stumbled on this:
http://groups.yahoo.com/group/Mandrake-Linux/message/1445
"for my hard drive (hda), I have the following symlinks:
/dev/hda ---> /dev/ide/host0/bus0/target0/lun0/disc
/dev/hda1 ---> /dev/ide/host0/bus0/target0/lun0/part1
/dev/hda2 ---> /dev/ide/host0/bus0/target0/lun0/part2
and so on."
but i don't know if it is relevant at all...
And also following a link from google, I find this quote:
http://rpmfind.net/linux/RPM/SGI/xfs/Release-1.0/RH7.1-SGI-XFS-1.0/RedHat/RP
MS/devfsd-1.3.11-sgi.i386.html
"(DiskDrake won't like /dev/ide/host0/bus0/target0/lun0/part1 instead of
/dev/hda1 ...)"
I used diskdrake to add one partition and my problems started (not
immediately) after that...
The rest of the page doens't give anything helpful though...
I am puzzleder and puzzleder.
thanks,
Anguo
Below is the background information from my previous posts.
> > Linux doesn't mount /home and other important partitions at boot. It
does
> > mount / and /usr though...
> > It does mount win98 c:/ but not d:/ .... win98 can't read d:/ anymore.
> > There seems to be a problem with my partition table...
> >
> > I am still investigating how I can solve the problem. I found the
> partition
> > rescue mini howto which may or may not be relevant in my case.
> > I'll look more for the answer but if anyone knows where the problem is
and
> > could give me some pointers, I'd be grateful.
> > Would you please post the content of "cat /etc/fstab"
> /dev/hda2 / ext2 defaults 1 1
> /dev/hda7 /archive ext2 defaults 1 2
> none /dev/pts devpts mode=0620 0 0
> none /dev/shm tmpfs defaults 0 0
> /dev/hda9 /files ext2 defaults 1 2
> /dev/hda8 /home ext2 defaults 1 2
> /dev/hdd /mnt/cdrom auto
> user,iocharset=iso8859-1,exec,codepage=850,ro,noauto 0 0
> /dev/fd0 /mnt/floppy auto
> user,iocharset=iso8859-1,sync,exec,codepage=850,noauto 0 0
> /dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850 0 0
> /dev/hda10 /mnt/windows2/ vfat umask=0 0 0
> none /proc proc defaults 0 0
> /dev/hda4 /redhat ext2 defaults 1 2
> /dev/hda6 /usr ext2 defaults 1 2
> /dev/hda5 swap swap defaults 0 0
> > #df -h
> >
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/hda2 587M 133M 424M 24% /
> > none 125M 0 124M 0% /dev/shm
> > /dev/hda1 1.7G 1.5G 236M 87% /mnt/windows
> > /dev/hda4 2.9G 4.0k 2.7G 1% /redhat
> > /dev/hda6 5.8G 1.6G 3.9G 29% /usr
> >
> >
> > #fdisk -l
> >
> > Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 3649
> > cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> > Device Boot Start End Blocks
> > Id System
> > /dev/ide/host0/bus0/target0/lun0/part1 * 1 216
1734988+
> > b Win95 FAT32
> > /dev/ide/host0/bus0/target0/lun0/part2 217 292 610470
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part3 293 2846 20515005
> > 5 Extended
> > /dev/ide/host0/bus0/target0/lun0/part4 2202 2583 3068415
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part5 293 342
401593+
> > 82 Linux swap
> > /dev/ide/host0/bus0/target0/lun0/part6 343 1106
6136798+
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part7 ? 224061 112815
1253901899
> > 29 Unknown
> >
> > #fdisk -l -u
> >
> > Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 3649
> > cylinders
> > Units = sectors of 1 * 512 bytes
> >
> > Device Boot Start End Blocks
> > Id System
> > /dev/ide/host0/bus0/target0/lun0/part1 * 63 3470039
1734988+
> > b Win95 FAT32
> > /dev/ide/host0/bus0/target0/lun0/part2 3470040 4690979 610470
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part3 4690980 45720989 20515005
> > 5 Extended
> > /dev/ide/host0/bus0/target0/lun0/part4 35359065 41495894 3068415
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part5 4691043 5494229
401593+
> > 82 Linux swap
> > /dev/ide/host0/bus0/target0/lun0/part6 5494293 17767889
6136798+
> > 83 Linux
> > /dev/ide/host0/bus0/target0/lun0/part7 ? -695433982 1812369815
> 1253901899
> > 29 Unknown
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com