View previous topic :: View next topic |
Author |
Message |
stan n00b
Joined: 15 Jul 2002 Posts: 30
|
Posted: Fri Oct 25, 2002 8:02 am Post subject: issue with write permissions while installing kernel..... |
|
|
this is what I'm getting.........
Code: | cdimage / #cp /usr/src/linux/arch/i386/boot/bzimage /boot
cp: cannot create regular file '/boot/bzImage': Read-only file system
cdimage / #
|
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Oct 25, 2002 9:05 am Post subject: |
|
|
Could this be related to /boot keeps mounting as vfat? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
jondkent Apprentice
Joined: 26 Jul 2002 Posts: 289 Location: London
|
Posted: Fri Oct 25, 2002 10:04 am Post subject: |
|
|
Hi,
it would also be useful if you could paste the output of the mount command as well if the above link doesn't work for you.
As an aside, there are loads of post like this one and all of them do not post this information so everyone has to guess, which is annoying
Jon |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Fri Oct 25, 2002 2:26 pm Post subject: |
|
|
Stan, could you please post the output of the following commands?
Thanks! |
|
Back to top |
|
|
stan n00b
Joined: 15 Jul 2002 Posts: 30
|
Posted: Fri Oct 25, 2002 6:42 pm Post subject: |
|
|
cat /etc/fstab
Code: | /dev/BOOT /boot ext2 noauto,noatime 1 1 |
and mount does not work........... (command not found)
I should also mention that I am in the middle of a gentoo install and have no kernel installed yet......... (many commands do not work because of this) |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Fri Oct 25, 2002 11:26 pm Post subject: |
|
|
if the boot partition is mounted read-only, you can tell by opening another virtual terminal (if your on the boot cd) and doing a "mount" command.
you should see something like so:
/dev/hda2 on /boot type ext3 (rw,noatime)
rw means read-write.. if it's readonly it'll read "ro". Don't do this inside of your chrooted environment, because the control is much easier under the boot cd's environment. if you mount your boot partition to /mnt/gentoo/boot, it'll be available in your chrooted environment.
if it's already mounted, and read-only, you can remount it read-write by doing the following command:
mount -o remount rw /mnt/gentoo/boot
(it'll remount it on the fly as read-write) |
|
Back to top |
|
|
|