You are not logged in.

#1 2008-01-02 05:22:53

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Readonly filesystem under Virtualbox [solved]

New to Arch and newish to Linux. I installed Arch as a guest under Virtualbox in Ubuntu.  The install worked but the filesystem loaded read only.  I fixed it by changing the kernel line in GRUB from "ro" to "rw".  Why would it be set to "ro"?

Last edited by DrZaius (2008-01-02 22:23:59)

Offline

#2 2008-01-02 16:41:25

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Readonly filesystem under Virtualbox [solved]

That "ro" is supposed to stay there. It's generally needed for the filesystem check. If you look at /etc/rc.sysinit you'll see everything's getting mounted later with mount -a.

Last edited by byte (2008-01-02 16:42:18)


1000

Offline

#3 2008-01-02 19:52:16

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: Readonly filesystem under Virtualbox [solved]

If I leave it as "ro" the filesystem stays as readonly and I can see the following before the login prompt:

mount: can't find / in /etc/fstab or /etc/mtab

and then

kinit: mounted root (xfs filesystem) readonly

fstab has no reference to any sda.

Last edited by DrZaius (2008-01-02 19:53:04)

Offline

#4 2008-01-02 20:47:07

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Readonly filesystem under Virtualbox [solved]

Eh, well, then put it in?


1000

Offline

#5 2008-01-02 22:23:29

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: Readonly filesystem under Virtualbox [solved]

Adding the info to fstab still didn't work so I reinstalled using ext3 instead and now it works fine.  I guess there was a problem with the initial installation.

Offline

Board footer

Powered by FluxBB