You are not logged in.

#1 2008-09-14 14:02:15

ricardoduarte
Member
Registered: 2008-09-03
Posts: 7

kinit mounts root filesystem as read only [HELP][solved]

hello

I've being messing around with my mkinitcpio trying to optimize my boot speed, i removed some of the hooks at the beginning i couldn't boot, but then now i can boot but the root filesystem mounts as read only, i tried everything my fstab looks fine, / exists with defaults i tried to mount it referencing by it's uuid or by it's name and i get the same results, it mounts the filesystem as root only all the time no mather what i do.
There is not logs since i started playing with mkinitcpio, or anything i searched everywhere in this forum and around the internet, and i can't find any solution that would work, i restored all the hooks and modules on mkinitcpio and the result it's still the same. i also changed the menu.lst in grub to vga=773 but that's about it.
Can anyone help with this please i can't seem to boot properly.

Regards

Last edited by ricardoduarte (2008-09-14 16:16:25)

Offline

#2 2008-09-14 15:16:45

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: kinit mounts root filesystem as read only [HELP][solved]

kinit should mount root as ro. That's how it's suposed to be done. But when init takes over it should remount boot rw, and your problem is probably that that don't happen for some reason. So my first questin is; does init complete? Do you see all the 'Starting foo.... [done]' stuff?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2008-09-14 15:42:07

ricardoduarte
Member
Registered: 2008-09-03
Posts: 7

Re: kinit mounts root filesystem as read only [HELP][solved]

Hello
Basically what happens it's that it loads all the uDev events then the loopback, it mounts the root read only, then when it checks filesystems it says

/dev/sda4: clean, 205184/481440 files, 1139604/1920356 blocks [fail]

************FILESYSTEM CHECK FAILED****************
* Please repair manually and reboot. Note that the root        *
* file system is currently mounted read-only. To remount      *
* it read-write: mount -n -o remount,rw /                            *
* When you exit the maintenance shell the will                     *
* reboot automatically.                                                      *
***************************************************

Now what bugs me its that i can do that mount -n -o remount,rw / with no problems and when i do

e2fsck -f /dev/sda4

it doesn't return any errors just says that 0.9 non continuous.
none of this makes sense to me!! thats why i though that the problem could be coming from mkinitcpio or something
any ideas
Thanks for your help, btw thanks for the quick reply
Regards

Last edited by ricardoduarte (2008-09-14 15:48:49)

Offline

#4 2008-09-14 16:16:10

ricardoduarte
Member
Registered: 2008-09-03
Posts: 7

Re: kinit mounts root filesystem as read only [HELP][solved]

Hello I just solved the problem, basically i done something that i shouldn't really done it, i commented all the lines that were making the boot process to stop and on rc.sysinit and the problem was the my other partition for some reason had it's uuid changed on the /dev/disk/by-uuid changing it to sda6 solved the problem, now i can boot like before.

Thanks for your reply.
regards

edit: forgot to mention that now i put rc.sysinit back into place.
regards

Last edited by ricardoduarte (2008-09-14 16:21:00)

Offline

Board footer

Powered by FluxBB