Problem with fsck on boot
Hi, Apologies if this is not the correct list (the general list appears to be jammed with spam). I'm running a 64bit Suse 10 install dual booting with W*ndows XP on a dell with a SATA hard-drive. After a long time of successful running I rebooted to a forced fsck check which hung the machine (with no output from fsck at all). I was only able to recover by booting in recovery mode and running fsck. Fsck found no errors but simply updated the last check time so that the check at boot time was no longer required. I think the problem may be SATA related. From the boot disk I ran fsck /dev/hda3 to correct the problem but this filesystem is /dev/sda5 when booting normally. Firstly, Is there a way to bypass the fsck check (perhaps using a boot option) when it occurs? Alternatively is there a way to disable it completely and run the check manually. My installation is all on one partition (excluding swap) which presumably means creating a ram disk containing fsck, unmounting the root file system and re-mounting it following the check. I'm not sure how best to achieve this. Any ideas? Regards, Bruce.
shutdown -f now will prevent fsck from running upon reboot -Glen Christensen
"Bruce Adams" <Bruce.Adams@tns-global.com> 09/21/06 7:26 AM >>>
Hi, Apologies if this is not the correct list (the general list appears to be jammed with spam). I'm running a 64bit Suse 10 install dual booting with W*ndows XP on a dell with a SATA hard- drive. After a long time of successful running I rebooted to a forced fsck check which hung the machine (with no output from fsck at all). I was only able to recover by booting in recovery mode and running fsck. Fsck found no errors but simply updated the last check time so that the check at boot time was no longer required. I think the problem may be SATA related. From the boot disk I ran fsck /dev/hda3 to correct the problem but this filesystem is /dev/sda5 when booting normally. Firstly, Is there a way to bypass the fsck check (perhaps using a boot option) when it occurs? Alternatively is there a way to disable it completely and run the check manually. My installation is all on one partition (excluding swap) which presumably means creating a ram disk containing fsck, unmounting the root file system and re- mounting it following the check. I'm not sure how best to achieve this. Any ideas? Regards, Bruce.
Hi :) El Jueves, 21 de Septiembre de 2006 15:52, Glen Christensen escribió:
shutdown -f now
will prevent fsck from running upon reboot
-Glen Christensen
"Bruce Adams" <Bruce.Adams@tns-global.com> 09/21/06 7:26 AM >>>
Hi, Apologies if this is not the correct list (the general list appears to be jammed with spam). I'm running a 64bit Suse 10 install dual booting with W*ndows XP on a dell with a SATA hard- drive. After a long time of successful running I rebooted to a forced fsck check which hung the machine (with no output from fsck at all).
I was only able to recover by booting in recovery mode and running fsck. Fsck found no errors but simply updated the last check time so that the check at boot time was no longer required. I think the problem may be SATA related. From the boot disk I ran fsck /dev/hda3 to correct the problem but this filesystem is /dev/sda5 when booting normally.
SATA drives are /dev/sd, why did you use /dev/hda3? Is the drive configured as PATA?
Firstly, Is there a way to bypass the fsck check (perhaps using a boot option) when it occurs? Alternatively is there a way to disable it completely and run the check manually. My installation is all on one partition (excluding swap) which presumably means creating a ram disk containing fsck, unmounting the root file system and re- mounting it following the check. I'm not sure how best to achieve this. Any ideas? Regards, Bruce.
What filesystem do you have on your drive? If it's ext2/3, you can use tune2fs. Rafa -- "Even paranoids have enemies." Rafa Grimán Systems Engineer Silicon Graphics Spain Santa Engracia, 120 - Planta Baja 28003 Madrid Spain Tel: +34 91 3984200 Tel: +34 91 3984201 Móvil: +34 628 117 940 http://www.sgi.com OpenWengo: rgriman Skype: rgriman
participants (3)
-
Bruce Adams
-
Glen Christensen
-
Rafa Grimán