View previous topic :: View next topic |
Author |
Message |
Pengwin n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 20
|
Posted: Wed Jul 28, 2004 5:44 pm Post subject: No loop devices? |
|
|
Hi all. Pretty new gentoo user here.
I'm trying to mount a CD iso and ran into an error stating there weren't any /dev/loop devices. I recompiled my kernel to include them (not as a module), copied the kernel into /boot as before and rebooted. Unfortunately there still aren't any /dev/loop devices. I've verified that I am using the most recently compiled kernel and that the config file shows CONFIG_BLK_DEV_LOOP = Y.
Is there anything else I need to do to get loop devices configured?
Thanks for the help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c0balt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Wed Jul 28, 2004 6:26 pm Post subject: |
|
|
hi,
which kernel version are you running?
if 2.6 (which i suppose)
du you have "/dev file system support" and "Automatically mount at boot" in the kernel?
Code: |
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
|
also make sure u have devfsd installed:
Quote: | [mybox portage]# emerge -pv devfsd
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-fs/devfsd-1.3.25-r8 -(uclibc) 0 kB
|
(if it says R that means its allready installed, if it says N you have to install it)
everything on your own risk though ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pengwin n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 20
|
Posted: Wed Jul 28, 2004 8:33 pm Post subject: |
|
|
Thank you for the reply. I'm still using 2.4 (from the 2004.1 image). Does that change the requirements? I assume so. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c0balt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Thu Jul 29, 2004 2:47 pm Post subject: |
|
|
Quote: |
I'm still using 2.4 (from the 2004.1 image). Does that change the requirements? I assume so.
|
yes i think so, but i dont know exactly because im not using 2.4 any more.
i believe though that you _wont_ need the "/dev" option.
you need "Loopback device support" in "Block Devices" of course.
now lets see
Quote: |
The loop devices are block special device files with major number 7 and typically called /dev/loop0, /dev/loop1 etc.
|
(from the kernel help menu
so have you tried (as root)
Code: |
mknod -m 660 /dev/loop0 b 7 0
|
(and so on for loop1, loop2, as many as you want )
you may have to change permissions/ownership of the created nods
plz tell me if that works, would like to know too =) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|