Mayday, I need to fix fstab, pls help!
I added new SATA drive to Suse10.3 box with existing IDE and SATA HDD. So the system booted up with new SATA detected as /hdb, but with lost old SATA that was /hdb previously. I mounted this new SATA HDD, no probs. After reboot I found old SATA disappeared from fstab, I mounted it as /hdc1 and then added it into fstab. However Suse didn't like it and stopped booting with an error message related to fstab. So I guess I have to edit fstab by vi (?), and then somehow get old SATA drive back, I can't afford to lose its stuff... Pls drive me from here...
|
What exactly is the error you get?
I would suggest you post the output of fdisk -l and the fstab file contents. |
Hi,
Boot from a live cd (knoppix, puppy, dsl) and change fstab |
Quote:
/dev/disk/by-id/scsi-SATA_WDC_WD400EB-00JWD-WCAJA1040738-part2 / ext3 acl,user_xattr 1 1 /dev/disk/by-id/scsi-SATA_WDC_WD400EB-00JWD-WCAJA1040738-part3 /home ext3 acl,user_xattr 1 2 /dev/disk/by-id/scsi-SATA_WDC_WD400EB-00JWD-WCAJA1040738-part1 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/disk/by-id/scsi-SATA_WDC_WD6401AALS-_WD-WMASY5113763-part7 /mydownload ext3 acl,user_xattr 1 2 /dev/disk/by-id/scsi-SATA_WDC_WD6401AALS-_WD-WMASY5113763-part5 /roz1backup ext3 acl,user_xattr 1 2 /dev/disk/by-id/scsi-SATA_WDC_WD6401AALS-_WD-WMASY5113763-part6 /video ext3 acl,user_xattr 1 2 /dev/sdc1 ext3 defaults 1 2 However I still can't see it, fdisk -l: Disk /dev/sda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00096d13 Device Boot Start End Blocks Id System /dev/sda1 1 192 1542208+ 82 Linux swap / Solaris /dev/sda2 * 193 2078 15149295 83 Linux /dev/sda3 2079 4865 22386577+ 83 Linux Disk /dev/sdb: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000b298d Device Boot Start End Blocks Id System /dev/sdb1 1 77825 625129281 f W95 Ext'd (LBA) /dev/sdb5 1 41774 335549592 83 Linux /dev/sdb6 41775 62661 167774796 83 Linux /dev/sdb7 62662 77825 121804798+ 83 Linux Disk /dev/sdc: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 * 1 9729 78148161 7 HPFS/NTFS I tried to mounted it: # mount /dev/sdc1 mnt/sdc1 mount: mount point mnt/sdc1 does not exist Pls drive me from here... |
Quote:
Quote:
mkdir /mnt/sdc1 |
Quote:
This one worked OK: /dev/sdc1 /mnt/sdc1 ext3 defaults 1 2 |
All times are GMT -5. The time now is 03:27 AM. |