PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Help, I can't modify a file..please read


Your Ad Here

Your Ad Here

On Thu, 2 Mar 2006 17:16:21 +0100 (CET), rent staggered into the Black Sun and said:

kernel compile
I'm getting the following error when booting to a 2.6.15.4 kernel I compiled myself: 17179573.58000 Kernel Panic - not syncing; VFS: Unable to mount root fs on unknown-block(0,0) I'm not using an initrd...

UID 0 (root) is special. Processes running with UID 0 ignore the rw file permission bits. root can read and write any file that's on a filesystem that's mounted read-write. So, either the filesystem that hosts.cfg is on is mounted ro, or it's on a filesystem that doesn't have mature write support in kernelspace (like NTFS). Check the output from mount, it'll probably look sort of like:

snip a bunch of other FSes for brevitydev-hda5 on type ext3 (ro,noatime,commit=400)dev-hda6 onusr type ext3 (rw,noatime,commit=400)

recover WinXP ntfs hd from Linux 556
I had a similar experience (modest head crash, lunched about 190 consecutive sectors) then had XP offer to reinstall itself, only to die on the...

...note how is mounted ro here. If I wanted to change a file on , I'd first have to do "mount -o remount,rw". Lots of people keep mounted ro for paranoia and reliability reasons. The truly paranoid keepusr mounted ro as well, but that makes upgrading your software more of a PITA than it should be.

The other possibility is that you're out of disk space, but the filesystem being mounted ro is much more likely. HTH,

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL



Your Ad Here

List | Previous | Next

kernel compile

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

copying entire dualboot hard drive