You are not logged in.

#1 2008-12-21 14:23:36

william7
Member
Registered: 2008-06-18
Posts: 32

[solved] cannot regenerate initrd - readonly root partition

After upgrade I cannot boot arch linux - fallback image doesn't work too.

I chroot  (this quide #5 post  http://bbs.archlinux.org/viewtopic.php?id=36512 ) and try upgrade kernel but have problem with generate new initrd


(1/2)  kernel26                       [#####################] 100%
/tmp/alpm_lNXoi8/.INSTALL: line 23: /dev/null: 
/tmp/alpm_lNXoi8/.INSTALL: line 25: /dev/null: Permission denied
/tmp/alpm_lNXoi8/.INSTALL: line 39: /dev/null: Permission denied
>>> Updating module dependencies. Please wait ...
/tmp/alpm_lNXoi8/.INSTALL: line 84: /dev/null: Permission denied
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.27-ARCH -c /etc/mkinitcpio.conf -g 
/boot/kernel26.img
:: Begin build
/lib/initcpio/functions: line 57: /dev/null: Permission denied
...
/lib/initcpio/functions: line 130: /dev/null: Permission denied
/sbin/mkinitcpio: line 248: /dev/null: Permission denied
FATAL: Hook 'base' can not be found
==> FAIL

Last edited by william7 (2008-12-22 18:56:56)

Offline

#2 2008-12-21 22:36:39

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: [solved] cannot regenerate initrd - readonly root partition

ummm.... hm.

the problem is the permissions of your user on /dev/null.  try to resolve that.  if you can't, please post the output of 'ls -ald /dev{,/null}' and 'cat /etc/{passwd,group} | grep `whoami`'.

Last edited by kludge (2008-12-22 17:06:01)


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#3 2008-12-22 15:27:56

william7
Member
Registered: 2008-06-18
Posts: 32

Re: [solved] cannot regenerate initrd - readonly root partition

ok, I change chmod for /dev/null and chroot. After updating kernel I have this screen during boot: link

Offline

#4 2008-12-22 17:29:08

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: [solved] cannot regenerate initrd - readonly root partition

and... ?  that's a different and probably unrelated error.  have you:

* done what it says?
* read 'man fsck'?
* opened the boot script that threw the error and find the command?
* tried to fix yourself?

go ahead and mark this thread solved and start a new one if you can't fix it.  but you can fix it.  i have faith in you!


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#5 2008-12-22 18:55:52

william7
Member
Registered: 2008-06-18
Posts: 32

Re: [solved] cannot regenerate initrd - readonly root partition

Ok, I change my /etc/fstab to    "0 0" end od root partition and reinstall kernel again and now it's solved.

Offline

Board footer

Powered by FluxBB