View previous topic :: View next topic |
Author |
Message |
hondaman n00b
Joined: 25 Mar 2004 Posts: 19
|
Posted: Fri Mar 26, 2004 1:05 am Post subject: bash: line 1: /dev/null: no such file or directory |
|
|
This is the third time in three installs this has happened, and I dont know whats causing it. This error is happening when I try and do emerge-webrsync. I cant type "mount" in this console, I have to switch to a different console. So, in alt-f2, i do mount, and this is what it says:
tempfs on / type tempfs (rw)
tempfs on / type tempfs (rw)
devfs on /dev type devfs (rw)
/newroot/dev/cdroms/cdrom0 on /mnt/cdrom type iso9660 (ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/hda2 on /mnt/gentoo type ext3 (rw)
/dev/hda1 on /mnt/gentoo/boot type ext2 (rw)
/dev/hda3 on /mnt/gentoo/home type ext3 (rw)
/dev/hda5 on /mnt/gentoo/var type ext3 (rw)
/dev/hda7 on /mnt/gentoo/gaming type ext3 (rw)
none on /mnt/gentoo/proc type proc (rw)
This is a dual opteron using the 2004.1 (? latest version) x86-64 live CD. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Mar 26, 2004 2:06 am Post subject: |
|
|
Have you tried manually creating the device node ?
Code: | # mknod /mnt/gentoo/dev/null c 1 3 |
|
|
Back to top |
|
|
hondaman n00b
Joined: 25 Mar 2004 Posts: 19
|
Posted: Fri Mar 26, 2004 2:26 am Post subject: |
|
|
Ok, i just rebooted, and before mounting anything I tried your command.
mknod: '/mnt/gentoo/dev/null': no such file or directory
I tried
mknod /dev/null v 1 3 and the file exists.
I then mounted everything, chrootd and did your same command, and it said no such file or directory again.
I then did ls, and there is no /dev whatsoever!
What makes this directory? I must have missed a step again somewhere somehow. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Mar 26, 2004 3:04 am Post subject: |
|
|
/dev should be included in the stage tarball, but I have not checked the AMD64 ones because I only have AMD32 hardware at the moment. |
|
Back to top |
|
|
hondaman n00b
Joined: 25 Mar 2004 Posts: 19
|
Posted: Fri Mar 26, 2004 3:26 am Post subject: |
|
|
I actually just verified that. I extracted it with |grep -i dev and there is nothing extracting to /dev |
|
Back to top |
|
|
RG10 n00b
Joined: 10 Apr 2004 Posts: 2
|
Posted: Wed Apr 14, 2004 6:43 pm Post subject: official stage1 missing /dev ----- fixed |
|
|
I had this same issue, after searching further I found this solution from one of the Gentoo AMD developers.
Quote:
"Something that hasn't hit the tech notes yet.
For those starting with a stage1, when you enter your
chroot, use these commands:
mkdir -p /dev
cd /dev
MAKEDEV generic-i386
The official stage1 is missing /dev."
Hope this helps anyone who has the same issue. |
|
Back to top |
|
|
stahlsau Guru
Joined: 09 Jan 2004 Posts: 584 Location: WildWestwoods
|
Posted: Wed Apr 14, 2004 6:50 pm Post subject: |
|
|
yes, did it too with the command (moved my sys to reiser4, but didn't create /dev)
think if you do like said above it should work...maybe [/code] |
|
Back to top |
|
|
|