Jerry Feldman wrote:
On Tue, 24 Feb 2004 19:51:44 +0200 (SAST) Rh Conacher
wrote: Today I was unable to get my Suse 9.0 system to boot as each time I Ctrl-D'd it rebooted and told me to run fsck manually.
I thought GREAT :( but having asked before on the list I booted with my boot diskette and was presented with the options of boot from harddisk, installation, safe mode, manual install and rescue etc.
I tried the rescue to no avail and even entered the command fsck -VAa / into the additional options with NO luck. ie the additional command line options you can insert into LiLo
How the hell do I get my system back by completing the fsck!!
Depends on what file system you have. Ext3 mainly and maybe a FAT/FAT32 partition.
If you have ext2 or 3. Assume that /dev/hda1 is root, and /dev/hda2 is a mountable file system, such as /home. mmm, I do not have a hda at all. someone told me about a month ago that it was reserved for the bootsector eventhough I had a separate /boot partition. Regardless of what is what I would like to be able to boot from my stiffy and fsck and repair the fstab table.
When you run fsck from single user mode, make sure that the root partition is mounted read-only. You can test this by trying to create a file. You'll get permission denied if root is mounted ro. If you can write to root, then: mount -o ro,remount / How do I get to single user mode after booting from my bootdisk? It is
Below is the BIOS entries and fstab: BIOS: Primary Master: CD-ROM Primary slave: 20 Gb main linux drive Secondary slave: 7.5Gb disk for backup FSTAB: /dev/hdb1 / ext3 defaults 1 1 /dev/hdb9 /boot ext3 defaults 1 2 #/dev/hdc2 /data1 auto noauto,user 0 0 #/dev/hdc7 /data2 auto noauto,user 0 0 #/dev/hdc9 /data3 auto noauto,user 0 0 /dev/hdd1 /data4 auto noauto,user 0 0 /dev/hdb8 /home ext3 defaults 1 2 /dev/hdb10 /opt ext3 defaults 1 2 /dev/hdb6 /usr ext3 defaults 1 2 /dev/hdb7 /var ext3 defaults 1 2 /dev/hdc1 /windows/C vfat defaults 0 0 /dev/hdc5 /windows/D vfat defaults 0 0 /dev/hdc6 /windows/E vfat defaults 0 0 /dev/hdb5 swap swap pri=42 0 0 #/dev/hdc8 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 I have since removed hdc and put it into another machine. the root partition I want to check and therefore it can't even be ro, especially if I want to repair it? Reading through the 'man fsck' pages again I wrote down what options I would like: fsck -asACV What must I do to get to a point where issuing the above command or summat similar is possible? I mean I am booting from a stiffy and in theory only mounting the stiffy fs to repair and go through the fstab file surely? FSCKing procedure is something I ain't EVER going to forget, believe me. :) -- The Little Helper ======================================================================== Hylton Conacher - Licenced ex-Windows user (apart from Quicken) Registered Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================