Help! My debian sid cannot boot, "A manual fsck must be performed"
When I boot my debian sid 5 minutes ago, I got this error message: --- /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without -a or -p options) fsck died with exit status 4 failed (code 4) An automatic file system check(fsck) of the root filesystem failed. A manual fsck must be performed. The fsck should be performed in maintance mode with the root filesystem mounted in read-only mode. failed! --- i have entered the maintance mode, but i don't know how to recover my filesystem. anyone can help me? thank you. this is the first time i encounter a serious problem with debian. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Mon, Mar 9, 2009 at 9:14 PM, Star Liu wrote: > When I boot my debian sid 5 minutes ago, I got this error message: > --- > /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without > -a or -p options) > fsck died with exit status 4 > failed (code 4) > An automatic file system check(fsck) of the root filesystem failed. A > manual fsck must be performed. The fsck should be performed in > maintance mode with the root filesystem mounted in read-only mode. > failed! > --- > > i have entered the maintance mode, but i don't know how to recover my > filesystem. anyone can help me? thank you. this is the first time i > encounter a serious problem with debian. > i have fixed it, just exe "fsck /dev/sda4" and press enters :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
* Star Liu [2009-03-09 21:20:59 +0800]: > i have fixed it, just exe "fsck /dev/sda4" and press enters :) Sid's a mess right now... Heh. -- Dave signature.asc Description: Digital signature
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Mon, 9 Mar 2009 20:42:52 +0700 Dave Patterson wrote: > * Star Liu [2009-03-09 21:20:59 +0800]: > > > > i have fixed it, just exe "fsck /dev/sda4" and press enters :) > > Sid's a mess right now... And nothing for untrained Debian users IMHO. Cheers, Frank -- Frank Lanitz pgpwqV3ihIYWl.pgp Description: PGP signature
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
* Frank Lanitz [2009-03-09 14:50:57 +0100]: > > Sid's a mess right now... > > And nothing for untrained Debian users IMHO. Yup, happens every time a new release goes out. We try lotsa new stuff, and it's not quite coordinated. reportbug gets lots of exercise, and upstream gets spanked. -- Cheers, Dave signature.asc Description: Digital signature
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Mon, 9 Mar 2009 20:55:18 +0700 Dave Patterson wrote: > * Frank Lanitz [2009-03-09 14:50:57 +0100]: > > > > Sid's a mess right now... > > > > And nothing for untrained Debian users IMHO. > > Yup, happens every time a new release goes out. We try lotsa new stuff, > and it's not quite coordinated. reportbug gets lots of exercise, and > upstream gets spanked. But it's cool to see all the stuff comes in and help testing the packages. Cheers, Frank -- Frank Lanitz pgpS07yvM9KK3.pgp Description: PGP signature
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
Dave Patterson escreveu: > * Star Liu [2009-03-09 21:20:59 +0800]: > >> i have fixed it, just exe "fsck /dev/sda4" and press enters :) >> > > Sid's a mess right now... > Heh. > I'd tend to agree, but I don't think this specific case is a problem with sid. It's just the drive that needed a fsck. (Or is there a bug in the init scripts that misinterprets fsck's return codes?) -- Eduardo M Kalinowski edua...@kalinowski.com.br -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
* Frank Lanitz [2009-03-09 14:58:57 +0100]: > But it's cool to see all the stuff comes in and help testing the packages. We do. When I have time to play, I love to see what can be done with my favorite stuff. My road lappy is running Lenny - and is quite happy with it. I'll keep it there, for now. Misery is a borked wifi connection in a strange hotel. With business pending. At home, now, the monster box with all the new hardware is running pure-dee Sid, and code is playing catch-up at the moment - it's fun. -- Cheers, Dave signature.asc Description: Digital signature
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote: > When I boot my debian sid 5 minutes ago, I got this error message: > --- > /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without > -a or -p options) > fsck died with exit status 4 > failed (code 4) > An automatic file system check(fsck) of the root filesystem failed. A > manual fsck must be performed. The fsck should be performed in > maintance mode with the root filesystem mounted in read-only mode. > failed! > --- > > i have entered the maintance mode, but i don't know how to recover my > filesystem. anyone can help me? thank you. this is the first time i > encounter a serious problem with debian. > Sounds like you have a defective HD. -- Thank you. Steven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Tue, Mar 10, 2009 at 01:21:55PM +0700, Steven Demetrius wrote: > On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote: > > When I boot my debian sid 5 minutes ago, I got this error message: > > --- > > /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without > > -a or -p options) > > fsck died with exit status 4 > > failed (code 4) > > An automatic file system check(fsck) of the root filesystem failed. A > > manual fsck must be performed. The fsck should be performed in > > maintance mode with the root filesystem mounted in read-only mode. > > failed! > > --- > > > > i have entered the maintance mode, but i don't know how to recover my > > filesystem. anyone can help me? thank you. this is the first time i > > encounter a serious problem with debian. > > > > Sounds like you have a defective HD. Just because fsck conked out? get real. Of course, the problem on Debian is that "maintenance mode" (i.e. single-user-mode) has already tried to mount all filesystems. Instead, try this: At grub's menu, edit the kernel command line so that you add: init=/bin/sh This way, the kernel will boot, the initrd scripts will run, but insead of normal init running (with the init scripts), you'll end up with the / fs mounte ro and no init scripts having been run. Its like booting a LiveCD without being able to write anything. You'll be able to run any apps in /bin and /sbin. You'll get a sh prompt. Run the following (assuming that your root fs is ext2 or ext3): /sbin/e2fsck -C 0 -f -y /dev/sda4 This will run an fsck on /dev/sda4. -C 0 gives you the progress indicator, -f causes it to run even if it looks clean, and -y answers "yes" to all "fix?" questions. If you want to also check the drive for bad blocks, add: -c -c to the option list. This will take a long time. You may find that e2fsck has to be run a couple of time until no errors are reported. When you want to exit and try rebooting, since you've dillied with the fs, I'd: sync halt Ideally, halt would sync the disks, but the man page says that it can't unless /proc is mounted. When the system is halted, turn the power off, wait 15 seconds and power on. Alternatively, if you don't want to halt and power-cycle, but want to immediatly try booting, do: exec init which will terminate your sh process and run the init process. Good luck. Doug. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty wrote: > On Tue, Mar 10, 2009 at 01:21:55PM +0700, Steven Demetrius wrote: >> On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote: >> > When I boot my debian sid 5 minutes ago, I got this error message: >> > --- >> > /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without >> > -a or -p options) >> > fsck died with exit status 4 >> > failed (code 4) >> > An automatic file system check(fsck) of the root filesystem failed. A >> > manual fsck must be performed. The fsck should be performed in >> > maintance mode with the root filesystem mounted in read-only mode. >> > failed! >> > --- >> > >> > i have entered the maintance mode, but i don't know how to recover my >> > filesystem. anyone can help me? thank you. this is the first time i >> > encounter a serious problem with debian. >> > >> >> Sounds like you have a defective HD. > > Just because fsck conked out? get real. > > Of course, the problem on Debian is that "maintenance mode" (i.e. > single-user-mode) has already tried to mount all filesystems. > > Instead, try this: > > At grub's menu, edit the kernel command line so that you add: > > init=/bin/sh My debian sid now break more, after I add init-/bin/sh to the kernel boot line, and reboot, the process dead at this message line: kernel panic - not syncing: Attempted to kill init! I cannot log into my system anymore, how could I resolve it? thank you. > This way, the kernel will boot, the initrd scripts will run, but insead > of normal init running (with the init scripts), you'll end up with the / > fs mounte ro and no init scripts having been run. Its like booting a > LiveCD without being able to write anything. You'll be able to run any > apps in /bin and /sbin. > > You'll get a sh prompt. Run the following (assuming that your root fs > is ext2 or ext3): > > /sbin/e2fsck -C 0 -f -y /dev/sda4 > > This will run an fsck on /dev/sda4. -C 0 gives you the progress > indicator, -f causes it to run even if it looks clean, and -y answers > "yes" to all "fix?" questions. > > If you want to also check the drive for bad blocks, add: > > -c -c > > to the option list. This will take a long time. > > You may find that e2fsck has to be run a couple of time until no errors > are reported. > > When you want to exit and try rebooting, since you've dillied with the > fs, I'd: > > sync > > halt > > Ideally, halt would sync the disks, but the man page says that it can't > unless /proc is mounted. > > When the system is halted, turn the power off, wait 15 seconds and > power on. > > Alternatively, if you don't want to halt and power-cycle, but want to > immediatly try booting, do: > > exec init > > which will terminate your sh process and run the init process. > > Good luck. > > Doug. > > > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Wed, Mar 11, 2009 at 8:16 AM, Star Liu wrote: > On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty wrote: >> On Tue, Mar 10, 2009 at 01:21:55PM +0700, Steven Demetrius wrote: >>> On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote: >>> > When I boot my debian sid 5 minutes ago, I got this error message: >>> > --- >>> > /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without >>> > -a or -p options) >>> > fsck died with exit status 4 >>> > failed (code 4) >>> > An automatic file system check(fsck) of the root filesystem failed. A >>> > manual fsck must be performed. The fsck should be performed in >>> > maintance mode with the root filesystem mounted in read-only mode. >>> > failed! >>> > --- >>> > >>> > i have entered the maintance mode, but i don't know how to recover my >>> > filesystem. anyone can help me? thank you. this is the first time i >>> > encounter a serious problem with debian. >>> > >>> >>> Sounds like you have a defective HD. >> >> Just because fsck conked out? get real. >> >> Of course, the problem on Debian is that "maintenance mode" (i.e. >> single-user-mode) has already tried to mount all filesystems. >> >> Instead, try this: >> >> At grub's menu, edit the kernel command line so that you add: >> >> init=/bin/sh > My debian sid now break more, after I add init-/bin/sh to the kernel > boot line, and reboot, the process dead at this message line: > kernel panic - not syncing: Attempted to kill init! > > I cannot log into my system anymore, how could I resolve it? thank you. a more detail error messages: -- begin: mounting root file system begin:running /scripts/local-top ... done. begin: running /scripts/local-premount... done kjournald starting. commit interval 5 seconds ext3-fs:mount filesystem with ordered data mode. begin:running /script/local-bottom... done done. begin:running /script/init-bottom...done mount:mounting /sys on /root/sys failed: invaild argument run-init:/sbin/init:I/O error kernel panic - not syncing:attempted to kill init! > > >> This way, the kernel will boot, the initrd scripts will run, but insead >> of normal init running (with the init scripts), you'll end up with the / >> fs mounte ro and no init scripts having been run. Its like booting a >> LiveCD without being able to write anything. You'll be able to run any >> apps in /bin and /sbin. >> >> You'll get a sh prompt. Run the following (assuming that your root fs >> is ext2 or ext3): >> >> /sbin/e2fsck -C 0 -f -y /dev/sda4 >> >> This will run an fsck on /dev/sda4. -C 0 gives you the progress >> indicator, -f causes it to run even if it looks clean, and -y answers >> "yes" to all "fix?" questions. >> >> If you want to also check the drive for bad blocks, add: >> >> -c -c >> >> to the option list. This will take a long time. >> >> You may find that e2fsck has to be run a couple of time until no errors >> are reported. >> >> When you want to exit and try rebooting, since you've dillied with the >> fs, I'd: >> >> sync >> >> halt >> >> Ideally, halt would sync the disks, but the man page says that it can't >> unless /proc is mounted. >> >> When the system is halted, turn the power off, wait 15 seconds and >> power on. >> >> Alternatively, if you don't want to halt and power-cycle, but want to >> immediatly try booting, do: >> >> exec init >> >> which will terminate your sh process and run the init process. >> >> Good luck. >> >> Doug. >> >> >> >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> >> > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Wed, Mar 11, 2009 at 08:25:35 +0800, Star Liu (minxinjian...@gmail.com) wrote: > On Wed, Mar 11, 2009 at 8:16 AM, Star Liu wrote: > > On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty wrote: > >> At grub's menu, edit the kernel command line so that you add: > >> > >> init=/bin/sh > > My debian sid now break more, after I add init-/bin/sh to the kernel It may just be a typo, but "init-/bin/sh" is not the same as "init=/bin/sh" -- Bob Cox. Stoke Gifford, near Bristol, UK. Please reply to the list only. Do NOT send copies directly to me. Debian on the NSLU2: http://bobcox.com/slug/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help! My debian sid cannot boot, "A manual fsck must be performed"
On Wed, Mar 11, 2009 at 11:07 AM, Bob Cox wrote: > On Wed, Mar 11, 2009 at 08:25:35 +0800, Star Liu (minxinjian...@gmail.com) > wrote: > >> On Wed, Mar 11, 2009 at 8:16 AM, Star Liu wrote: >> > On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty wrote: > >> >> At grub's menu, edit the kernel command line so that you add: >> >> >> >> init=/bin/sh > > >> > My debian sid now break more, after I add init-/bin/sh to the kernel > > It may just be a typo, but "init-/bin/sh" is not the same as > "init=/bin/sh" yes, in fact I added init=/bin/sh to the kernel command line, but it seems the boot process haven't come here when it have died. > -- > Bob Cox. Stoke Gifford, near Bristol, UK. > Please reply to the list only. Do NOT send copies directly to me. > Debian on the NSLU2: http://bobcox.com/slug/ > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org