Catalin Bucur wrote:
Salutare,


Am facut un upgrade cu yum-ul de la FC6 la FC7. Totul a mers ok, doar ca in /etc/fstab nu am avut label-uri in loc de /dev/hdX, iar la reboot m-am procopsit cu mesajul (in initrd-ul respectiv aveam referire la /dev/hda in loc de /dev/sda):

Creating root device
Mounting root filesystem
mount: could not find filesystem '/dev/root/'
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

Problema nu e mesajul ci faptul ca am cam modificat tot ce era de modificat ca sa boot-eze kernelul, dar fara succes. Cam asa sta situatia (boot cu cd-ul de rescue):

-> fdisk
/dev/sda1 1 126 1012063+ 82 Linux swap / Solaris
/dev/sda2             127        2228    16884314+  83  Linux

-> blkid
/dev/sda2: LABEL="Cata" UUID="ebfbf39f-558d-4d30-b143-9e581bf41f77" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda1: TYPE="swap" LABEL="swap"

-> /etc/fstab
LABEL=Cata / ext3 defaults 1 1 sysfs /sys sysfs defaults 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=swap swap swap defaults 0 0

-> /boot/grub/grub.conf
default=0
timeout=7
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Fedora (2.6.21-1.3194.fc7)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=Cata
    initrd /boot/initrd-2.6.21-1.3194.fc7.img

-> /boot/grub/device.map
(fd0)     /dev/fd0
(hd0)     /dev/sda

-> in /boot/initrd-2.6.21-1.3194.fc7.img (dupa decompresie, in fisierul 'init' am:
resume LABEL=swap
echo Creating root device.
mkrootdev -t ext3 -o defaults,ro sda2
echo Mounting root filesystem.
mount /sysroot
echo Setting up other filesystems.
setuproot
echo Switching to new root and running init.
switchroot


Ce imi scapa?


Toate bune,
update-initramfs -u (asa e pe ubuntu)

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui