Gentoo Archives: gentoo-user

From: Fredrik Lundgren <fredrik.bg.lundgren@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ... fails to open device '/dev/hda2' after update
Date: Sat, 28 Jan 2006 16:42:15
Message-Id: 001001c62428$ca78bd40$679d72d5@Larissa
In Reply to: Re: [gentoo-user] ... fails to open device '/dev/hda2' after update by Richard Fish
1 Thanks again,
2 ---
3 mount / -o remount, noatime,rw
4 ---
5 gave no protests
6 ---
7 etc-update
8 ---
9 Worked this time and I updated all
10 and moved to my home directory and were able to change a file there
11 looked at /etc/conf.d/rc but made no chages
12 rebooted and ended up at the same place as before
13 ----
14 * checking root filesystem ...
15 Failed to open the device '/dev/hda2': No such file or directory
16 * Filesystem couldn't be fixed: (Give root password for maintenance
17 (or Control D to continue):_
18 ---
19 Either this wasn't the problem or I mixed up the correction somehow. It
20 appears as if
21 the bootprocess sets the filesystem to be inaccesible?
22
23 Fredrik
24
25 ---
26 ----- Original Message -----
27 From: "Richard Fish" <bigfish@××××××××××.org>
28 To: <gentoo-user@l.g.o>
29 Sent: Saturday, January 28, 2006 4:27 PM
30 Subject: Re: [gentoo-user] ... fails to open device '/dev/hda2' after
31 update
32
33
34 > On 1/28/06, Fredrik Lundgren <fredrik.bg.lundgren@××××××××.net> wrote:
35 >> Sorry for my misstake,
36 >> ---
37 >> uname -a
38 >> Linux(none) 2.6.10-gentoo-r6 #8 Thu Feb 17 13:15:44 CET 2005 i686
39 >> Intel(R) Pentium(R)
40 >> M processor 1.70 Ghz Centurion Intel GNU/Linux
41 >>
42 >> etc-update
43 >> mkdir: cannot create directory '/var/tmp/1162': Read only file system
44 >
45 > Try (assuming you don't have a separate /var filesystem):
46 >
47 > mount / -o remount,noatime,rw
48 > etc-update
49 >
50 > Once you have worked through that, edit /etc/conf.d/rc, which contains
51 > many of the things that were once in /etc/rc.conf, including
52 > RC_DEVICES.
53 >
54 > Since you are still on 2.6.10, a udev migration is not /necessary/ to
55 > fix your system, but I would still recommend it when you have some
56 > time. The basic steps are going to be:
57 >
58 > emerge udev coldplug hotplug
59 > edit /etc/conf.d/rc to set RC_DEVICES=udev
60 > remove any udev/devfs options from the kernel command line in
61 > /boot/grub/grub.conf
62 > remove /dev/.devfs if it exists
63 > reboot
64 >
65 > You can find a lot more information on udev here:
66 > http://www.gentoo.org/doc/en/udev-guide.xml
67 >
68 > --
69 > gentoo-user@g.o mailing list
70 >
71 >
72
73
74 --
75 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ... fails to open device '/dev/hda2' after update Richard Fish <bigfish@××××××××××.org>