Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck after Kernel compile can't copy image to /boot
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
EverSure
n00b
n00b


Joined: 11 Oct 2006
Posts: 3

PostPosted: Wed Oct 11, 2006 6:55 am    Post subject: Stuck after Kernel compile can't copy image to /boot Reply with quote

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
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Wed Oct 11, 2006 7:09 am    Post subject: Reply with quote

Is your /boot directory writable?

Is it mounted read only?
_________________
jim
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Oct 11, 2006 8:28 am    Post subject: Reply with quote

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
View user's profile Send private message
EverSure
n00b
n00b


Joined: 11 Oct 2006
Posts: 3

PostPosted: Wed Oct 11, 2006 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Oct 11, 2006 4:45 pm    Post subject: Reply with quote

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
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