Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount: special device /dev/cdroms/cdrom0 does not exist
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
molly_morrison
n00b
n00b


Joined: 24 Dec 2004
Posts: 9
Location: NJ or CA

PostPosted: Sat Dec 25, 2004 4:55 am    Post subject: mount: special device /dev/cdroms/cdrom0 does not exist Reply with quote

Everything was going fine (more or less) until I tried to emerge my kernel. I tried the following:

Code:
emerge vanilla-sources


It then went looking for an internet connection, which is a problem since I'm on my laptop and don't have one at the moment. I am doing an install from a Universal LiveCD without network connection.

I went looking on this board for help, and saw that I should copy the files over from the CD-ROM, so I tried:

Code:
cp /mnt/cdrom/usr/portage/distfiles/gentoo-dev-sources-* /usr/portage/distfiles


This gave me the following error:

Quote:
cp: cannot stat '/mnt/cdrom/usr/portage/distfiles/gentoo-dev-sources-*': No such file or directory


Turns out that, as far as I can tell, my cd-rom is no longer mounted since I entered my new environment by chroot. I don't know how to re-mount it, however. I have tried the following things:

Code:
mount /mnt/cdrom


This gave me the error message in the title, as did:

Code:
mount /dev/cdroms/cdrom0 /mnt/cdrom


Any help anyone can offer me on how to mount my cd-rom so I can continue with installation would be GREATLY appreciated. Thanks!
Back to top
View user's profile Send private message
Zuti
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2003
Posts: 123
Location: The Netherlands

PostPosted: Sat Dec 25, 2004 5:23 am    Post subject: Reply with quote

You should copy distfiles BEFORE chrooting.
Make distfiles folder if you didnt already:
Code:

# mkdir /mnt/gentoo/usr/portage/distfiles

Copy distfiles from gentoo live CD:
Code:

# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/

Then chroot
Code:

# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile

Emerge kernel. 2.4 kernel == gentoo-sources ; 2.6 kernel == gentoo-dev-sources ;
Code:

# emerge gentoo-sources
# cd /usr/src/linux
# make menuconfig
# make dep && make bzImage modules modules_install
(read the gentoo handbook for more on kernel compiling)


Good luck
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Sat Dec 25, 2004 10:02 am    Post subject: Reply with quote

Complaining about the same problem twice is terrible netiquette. You already said something similar at https://forums.gentoo.org/viewtopic.php?p=1912000#1912000

Don't crosspost.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sat Dec 25, 2004 11:15 pm    Post subject: Reply with quote

kimchi_sg wrote:
Complaining about the same problem twice is terrible netiquette. You already said something similar at https://forums.gentoo.org/viewtopic.php?p=1912000#1912000

Don't crosspost.

Well said. :)

Moved to from IG to Duplicate Threads.
_________________
Dinosaur week! (Ok, this thread is so last week)
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