Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Failed to open the device /dev/hda3: No such file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
UnNaturalHigh
n00b
n00b


Joined: 09 May 2004
Posts: 22

PostPosted: Sat Apr 02, 2005 7:26 pm    Post subject: [Solved] Failed to open the device /dev/hda3: No such file Reply with quote

Code:

* Mounting sysfs at /sys...
can't creat lock file /etc/mtab~15431: Read-only file system (use -n flag to override) [!!]

* Mounting ramfs at /dev
grec: mount of none in /dev by /bin/mount[mount:3061] uid/euid:0/0 gid/egid:0/0, parent /sbin/rc[rc:11460] uid/euid:0/0 gid/egid:0/0
* Configuring system to use udev... [OK]
*       Using /sbin/hotplug for udev management... [OK]
* Mounting devpts at /dev/pts
grsec: mount of none to /dev/pts by /bin/mount[mount:3743] uid/euid:0/0 gid/egid:0/0, parent /sbin/rc[rc:25870] uid/euid:0/0 gid/egid:0/0
* Activating (possible) swap... [OK]
* Remounting root filesystem read-only (if necessary)... [OK]
* Checking root filesystem...
Failed to open the device /dev/hda3: No such file or directory.


Code:

livecd / # cat /etc/conf.d/rc
# /etc/conf.d/rc: Global config file for the Gentoo RC System
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/rc,v 1.20.2.4 2005/02/19 02:13:53 vapier Exp $

# This is the number of tty's used in most of the rc-scripts (like
# consolefont, numlock, etc ...)

RC_TTY_NUMBER=11

# Set to "yes" if you want the rc system to try and start services
# in parallel for a slight speed improvement.

RC_PARALLEL_STARTUP="no"

# RC_NET_STRICT_CHECKING allows some flexability with the 'net' service.
# The following values are allowed:
#  none  - The 'net' service is always considered up.
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.
#  yes   - For this ALL network interfaces MUST be up for the 'net' service to
#          be considered up.

RC_NET_STRICT_CHECKING="no"

# RC_USE_FSTAB allows you to override the default mount options for the
# standard /proc, /sys, /dev, and /dev/pts mount points.  Note that this
# is the new way for selecting ramfs/tmpfs/etc... for udev mounting.

RC_USE_FSTAB="yes"

# Use this variable to control the /dev management behavior.
#  auto   - let the scripts figure out what's best at boot
#  devfs  - use devfs (requires sys-fs/devfsd)
#  udev   - use udev (requires sys-fs/udev)
#  static - let the user manage /dev

RC_DEVICES="udev"

# UDEV OPTION:
# Set to "yes" if you want to save /dev to a tarball on shutdown
# and restore it on startup.  This is useful if you have a lot of
# custom device nodes that udev does not handle/know about.

RC_DEVICE_TARBALL="no"





#
# Controlling start-stop-daemon behavior
#
# NOTE: most of these are not in use yet!!
#

# Set to "yes" if stop-daemon() should always retry killing the
# service if it fails the first time.

RC_RETRY_KILL="yes"


# Set the amount of seconds stop-daemon() should wait between
# retries.  $RC_RETRY_KILL should be set to "yes".

RC_RETRY_TIMEOUT=1


# Set the amount of times stop-daemon() should try to kill
# a service before giving up.  $RC_RETRY_KILL should be set to "yes".

RC_RETRY_COUNT=5


# Set to "yes" if stop-daemon() should fail if the service
# is marked as started, but not actually running on stop.

RC_FAIL_ON_ZOMBIE="no"





#
# Internal configuration variables
#
# NB:  These are for advanced users, and you should really
#      know what you are doing before changing them!
#


# rc-scripts dep-cache directory
#
# NOTE:  Do not remove the next line, as its needed by the baselayout ebuild!
#
#  svcdir="/var/lib/init.d"

svcdir="/var/lib/init.d"


# Should we mount $svcdir in a ram disk for some speed increase
# for slower machines, or for the more extreme setups ?

svcmount="no"


# FS type that should be used for $svcdir.  Note that you need
# $svcmount above set to "yes" for this to work ...  Currently
# tmpfs, ramfs, and ramdisk are supported (tmpfs is the default).

svcfstype="tmpfs"


# Size of $svcdir in KB.  Note that ramfs doesn't support this
# due to kernel limitations.

svcsize=2048


I've looked at numerous resources on the forums and still no luck I have not been able to fix this one. Any help would be great.
_________________
Only individuals have a sense of responsibility.


Last edited by UnNaturalHigh on Mon Apr 04, 2005 12:25 am; edited 1 time in total
Back to top
View user's profile Send private message
dodeco
n00b
n00b


Joined: 10 Jul 2004
Posts: 38
Location: Belgium

PostPosted: Sat Apr 02, 2005 8:36 pm    Post subject: Reply with quote

I once had a similar problem, caused by the fact that /etc/mtab did not exist.
Back to top
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Sun Apr 03, 2005 12:00 am    Post subject: Reply with quote

ive got that prob but i have an mtab, i can mount devices by specifying them with the long name but what the hell is going on, is it specific to the athon-xp stage3 tarball or wider and has anyone else filed a bug report
_________________
Giay tay nam | Giay nam cao cap | Giay luoi
Back to top
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Sun Apr 03, 2005 12:19 am    Post subject: Reply with quote

mine was caused by devfsd not being instaled
_________________
Giay tay nam | Giay nam cao cap | Giay luoi
Back to top
View user's profile Send private message
UnNaturalHigh
n00b
n00b


Joined: 09 May 2004
Posts: 22

PostPosted: Sun Apr 03, 2005 11:26 pm    Post subject: Reply with quote

Still having the same problem is there no way to have a udev only system. I don't want to have to compile my kernel with devfs.
_________________
Only individuals have a sense of responsibility.
Back to top
View user's profile Send private message
UnNaturalHigh
n00b
n00b


Joined: 09 May 2004
Posts: 22

PostPosted: Mon Apr 04, 2005 12:22 am    Post subject: Reply with quote

I checked over my install and I guess I didn't do the mtab as in the grub-install instructions.

http://www.gentoo.org/doc/en/handbook/2005.0/handbook-x86.xml?part=1&chap=10#grub-install-auto
_________________
Only individuals have a sense of responsibility.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Apr 08, 2005 8:01 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-315935.html

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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