View previous topic :: View next topic |
Author |
Message |
EverSure n00b
Joined: 11 Oct 2006 Posts: 3
|
Posted: Wed Oct 11, 2006 6:55 am Post subject: Stuck after Kernel compile can't copy image to /boot |
|
|
I'm using minimal install CD image for amd64 - everything works well after kernel compile but when I go to copy the image to /boot
I'm stuck after code listing 13:
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.17-gentoo-r5
I get the error message "cannot create regular file - read only file system"
and in chroot the message is "cannot stat no such file or directory"
yet the bzImage file is there under /mnt/gentoo/usr/src/linux-2.6.17-r8/arch/x86_64/boot
I've searched and gone over the steps again to see if I've missed something. Can anyone point me in the right direction. |
|
Back to top |
|
|
jstead1 Guru
Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Wed Oct 11, 2006 7:09 am Post subject: |
|
|
Is your /boot directory writable?
Is it mounted read only? _________________ jim |
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Wed Oct 11, 2006 8:28 am Post subject: |
|
|
post the output of "mount" without arguments, inside and outside of the chroot, then we can figure out what's mounted where and maybe help you. _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
EverSure n00b
Joined: 11 Oct 2006 Posts: 3
|
Posted: Wed Oct 11, 2006 11:08 am Post subject: |
|
|
The "mount" output as chroot is as follows:
Code: | /dev/ROOT on / type ext3 (rw,noatime)
/dev/BOOT on /boot ext2 (ro,noatime)
/dev/hda3 on /mnt/gentoo type reiserfs (rw) |
The "mount" ouput as root is:
Code: |
tmpfs on / type tmpfs (rw)
/dev/hdc on /mnt/cdrom type ISO9660 (ro)
/dev/loop0 on /mnt/livecd type squashfs (ro)
proc on / proc type proc (rw)
sysfs on / sys type sysfs (rw)
udev on / dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
cachedir on /mnt/livecd/lib64/splash/cache type tmpfs (rw)
tmpfs on /mnt/livecd/lib64/splash/tmp type tmpfs (rw)
tmpfs on /mnt/livecd/lib64 type tmpfs (rw)
tmpfs on /mnt/livecd/usr/portage type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
/dev/hda on /mnt/gentoo type reiserfs (rw)
/dev/hda on /mnt/gentoo type ext3 (rw)
none on /mnt/gentoo/proc type proc (rw)
/dev on /mnt/gentoo/dev type none (rw,bind)
|
Thanks |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 11, 2006 4:45 pm Post subject: |
|
|
Moved from Installing Gentoo to Duplicate Threads.
Edit your fstab. See here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|