Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Boot problem(s) - lock file and open device failures
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zepto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 129
Location: London

PostPosted: Sun Jan 30, 2005 7:06 pm    Post subject: [Solved]Boot problem(s) - lock file and open device failures Reply with quote

Just 're-installed' gentoo as I wanted to radically alter my partition makeup.

During system initialisation (INIT: version 2.84 booting) I get the following two errors:
"1st - Mounting sysfs at /sys...
can't create lock file /etc/mtab~675: Read-only file system (use -n flag to override)
2nd - Checking root filesystem...
Failed to open the device '/dev/hda3/: No such file or directory
/sbin/rc: line 250: rc_splash: command not found
* Filesystem couldn't be fixed :-("

Not even sure where to begin troubleshooting so any assistance appreciated, but have checked obvious stuff such as fstab & grub typos and am pretty sure they are okay.

This might also be related to https://forums.gentoo.org/viewtopic.php?t=277016, but I'm not sure.

Thanks
Fractoon


Last edited by zepto on Wed Feb 02, 2005 5:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sun Jan 30, 2005 7:11 pm    Post subject: Reply with quote

can you post your fstab and be sure you don't have any trailer / after /dev/hda3?
are you sure you have a /dev/hda3 device, I mean, can you mount it?

:)
Back to top
View user's profile Send private message
zepto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 129
Location: London

PostPosted: Sun Jan 30, 2005 7:22 pm    Post subject: Reply with quote

Quote:
can you post your fstab and be sure you don't have any trailer / after /dev/hda3?
are you sure you have a /dev/hda3 device, I mean, can you mount it?

Have just mounted all the partitions to check the fstab and they operate as expected. There is no trailing / after /dev/hda3 in fstab file, but I don't know how to post fstab from 'broken' machine.

fstab file (re-typed!? *edit)
    /dev/hda1 /boot ext2 noauto,notail 1 1
    /dev/hda3 / reiserfs notail 0 1
    /dev/hda2 none swap sw 0 0
    /dev/hda5 /home reiserfs notail 0 0
    /dev/hda6 /usr reiserfs notail 0 0
    /dev/hda7 /opt reiserfs notail 0 0
    /dev/hda8 /var reiserfs notail 0 0

    /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
    none /proc proc defaults 0 0
    none /dev/shm tmpfs defaults 0 0


Thanks
Fractoon
Back to top
View user's profile Send private message
zepto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 129
Location: London

PostPosted: Mon Jan 31, 2005 7:31 am    Post subject: Reply with quote

Ideas anyone.

Thanks
Fractoon
Back to top
View user's profile Send private message
zepto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 129
Location: London

PostPosted: Wed Feb 02, 2005 5:49 pm    Post subject: Reply with quote

Okay,

I am not sure this is a solution as I 'rebuilt' the system again, but ...

I'm thinking these messages are related to me skipping (by accident :oops: ) the following steps from the handbook whilst installing and configuring grub.

10. Configuring the bootloader
...
Code:
Code Listing 6: Updating /etc/mtab
# cp /proc/mounts /etc/mtab

&
Code:
Code Listing 7: Running grub-install
# grub-install --root-directory=/boot /dev/hda


Hopefully someone having this problem could confirm it, but this is definately something I didn't do whilst rebuilding and the first error mentions /etc/mtab so think it is a good 'guess'

HTH
Fraction
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum