View previous topic :: View next topic |
Author |
Message |
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 9:14 pm Post subject: Boot Problem, Any help is appreciated |
|
|
Ok So I HAD a working install of gentoo, but I went to reboot just now and it seems to have gotten borked some how. It gets through kernel loading and and gets to here:
VFS: Mounted root (reiserfs) read only.
mounted /devfs on /dev
Freeing unused Kernel memory: 192k freed.
INIT: Version 2.85 Booting
*Mounting proc on /proc
*Mounting sysfs on /sys
*Mounting devpts or /dev/pts
*Activating (possible) swap
*Remount root fs as read only (if applicable)
*checking root file system....
failed to open the device /dev/hde7 no such file or device
Please enter root password to fix manualy or Ctrl+D to continue booting normally:
At this point ctrl+d reboots the system
and entering the root password puts me in /
/etc/mtab says /dev/hde7 is mounted as it should be at /
but /dev is all screwed up
the drive is listed as /dev/ide/host2/bus0/target0/lun0/part1-7
Please help, the only real changes I have made to the system (but have rebooted since these changes) is a) I added a /dev/hda as a resiserfs, installed VMWare. Any input is appreciated. |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Mon Oct 25, 2004 9:20 pm Post subject: |
|
|
Make sure /dev/hde7 is your root partition
Quote: | failed to open the device /dev/hde7 no such file or device |
And what looks like your /etc/fstab ? |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 10:19 pm Post subject: |
|
|
fennec wrote: | Make sure /dev/hde7 is your root partition
Quote: | failed to open the device /dev/hde7 no such file or device |
And what looks like your /etc/fstab ? |
/etc/fstab:
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde7 / reiserfs noatime 0 1
/dev/hde6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0
/dev/hdd1 /mnt/bigboi auto noatime,user 0 0
Sorry if the formatting is messed up but im posting this from links2, this is really frustrating. I tried removing the fstab file checking by making /dev/hde7 0 0 instead of 0 1 but this didnt seem to help. The only thing that strikes me is on is that on the livecd it says attempting to mount root filesystem read/write where as in mine it says read only. Is there anyother way to turn off root file system checking? |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Mon Oct 25, 2004 10:26 pm Post subject: |
|
|
i guess you could remove the checkroot script from init...
This will list scripts and will show which init level beside script name... if I am not mistaken the script that interests you is checkroot then use the following command to disable it... change default for boot or other level it may list with the 1st command above
Code: | # rc-update del checkroot default |
And that should do it |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Mon Oct 25, 2004 10:27 pm Post subject: |
|
|
Quote: |
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde7 / reiserfs noatime 0 1
/dev/hde6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0
/dev/hdd1 /mnt/bigboi auto noatime,user 0 0
|
I do not see /proc in there... is it on your file though ? |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 10:37 pm Post subject: |
|
|
fennec wrote: | Quote: |
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde7 / reiserfs noatime 0 1
/dev/hde6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0
/dev/hdd1 /mnt/bigboi auto noatime,user 0 0
|
I do not see /proc in there... is it on your file though ? |
Sorry yeah didnt include /proc and the other one.. /dev i beleive i just neglected to include them. sorry. |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 11:03 pm Post subject: Still no luck... |
|
|
Ok, I deleted the rc-update checkroot script (and checkfs) for good measure, however that did not get rid of the "checking root filesystem..." message nor did it allow me to boot into my machine any other thoughts, this is really starting to be a pain. |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Mon Oct 25, 2004 11:09 pm Post subject: |
|
|
ok well you may want to boot up with the live cd, re-chroot into your system and ...
Code: | # rc-update add checkroot default |
then, well maybe upgrading baselayout package, pr re-emerging it so it allows you to overwrite its scripts... |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 11:12 pm Post subject: |
|
|
then, well maybe upgrading baselayout package, pr re-emerging it so it allows you to overwrite its scripts...[/quote]
what do you mean by pr re-emerge it?
Also I completely forgot but the last major change I made was emerge -u world
it ran ok with no errors. so not sure if that would affect it. |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Mon Oct 25, 2004 11:14 pm Post subject: |
|
|
did you run etc-update after ? |
|
Back to top |
|
|
nbcthreat n00b
Joined: 04 Jun 2004 Posts: 32
|
Posted: Mon Oct 25, 2004 11:46 pm Post subject: Similar problem |
|
|
I have a similar problem going on with my system. I ran an update -u --deep world, which updated baselayout. I did NOT run etc-update, despite the fact that it told me to, then I put the laptop into suspend to RAM using APM, then it wouldn't wake up again (I have standby hardware issues with this IBM TP X21) so I had to do a hard reset. When I booted again, I got this weirdness about not being able to mount. I ran Knoppix, then the liveCD doing reiserfsck's on both. First on Knoppix, it told me to run reiserfs --fix-fixable, which I did. Then on the liveCD it told me to do the same thing, which I have done, resulting in clean reiserfsck --check, but on boot from HD, it still gives me the "can not mount" error. I tried running --rebuild-sb from the liveCD, but it told me it looked clean and didn't need it. |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Mon Oct 25, 2004 11:58 pm Post subject: |
|
|
fennec wrote: | did you run etc-update after ? |
I did not i just let it run and then forgot about. eep.
So should I do an emerge system again?
and what do you mean by pr re-emerge? |
|
Back to top |
|
|
smsisko n00b
Joined: 26 Oct 2004 Posts: 6
|
Posted: Tue Oct 26, 2004 1:43 am Post subject: Same here |
|
|
I tried a couple of things, but I downgraded my baselayout version to 1.10.4 and now the computer boots again.
So if you are in a hurry, this works |
|
Back to top |
|
|
Leviticus n00b
Joined: 13 Oct 2004 Posts: 13
|
Posted: Tue Oct 26, 2004 3:28 am Post subject: Re: Same here |
|
|
smsisko wrote: | I tried a couple of things, but I downgraded my baselayout version to 1.10.4 and now the computer boots again.
So if you are in a hurry, this works |
I'm not in a hurry but how do I do this? Ive tried everything I can think of so far with no luck.
So Far I have
1) disabled checkroot and checkfs in INIT
2.) remerged world (emerge -u world) and then made sure I have no out of date configs
3.) rebootstrapped and wrote ALL new configs
4.) tried to remerge system, but it just says everything is up to date and wont emerge anything.
I am just going to reinstall if i cant find a solution sometime shortly, sigh. what a pain in the ass this little glitch is. |
|
Back to top |
|
|
smsisko n00b
Joined: 26 Oct 2004 Posts: 6
|
Posted: Tue Oct 26, 2004 10:45 am Post subject: |
|
|
You can emerge a specific version of a package:
Code: | emerge -u =baselayout-1.10.4 |
This will install the older version and uninstall the new version. |
|
Back to top |
|
|
fennec l33t
Joined: 30 Aug 2003 Posts: 613 Location: Montreal
|
Posted: Tue Oct 26, 2004 2:03 pm Post subject: |
|
|
Quote: | and what do you mean by pr re-emerge? |
Its a typo... or re-emerge
read the original sentence and change pr for or and it will make more sense to you |
|
Back to top |
|
|
|