Re: FC7 yum upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Catalin Bucur wrote:
> Hello,
> 
> 
> I have made an upgrade with yum from FC6 to FC7 on a i686 system with
> IDE drives. Everything worked ok, but I realized after upgrade that in
> /etc/fstab I had /dev/hdX entries instead of LABELs. After reboot I got
> the message:
> 
> 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!
> 
> At that point I have tried to make all the modifications necessary to
> boot again with this kernel. Now, the situation looks like:
> 
> -> 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
> 
Dumb question - is the label on /dev/sd2 really Cata?
e2label /dev/sda2

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux