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

Re: FC7 yum upgrade



On Thu, 2007-07-26 at 15:32 +0300, Catalin Bucur wrote:
> -> 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

Correct usage, presuming /dev/sda2 is your system's / partition.

> 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

Correct usage.

> -> /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

This "root" is for the /boot not the /, so it shouldn't (usually) be the
same as the fstab entry for the / partition.  It's for where the kernel
vmlinux and initrd files are located.

Do you have a boot partition?  If you don't (e.g. /boot/ is just a
directory in the tree), then you may have to specify the path (as you've
done, with /boot/ in front of the vmlinuz filename).  But, you *may*
find a system is unbootable without a boot partition.  That depends on
your BIOS & GRUB.  They have to be able to find the boot files.

> 	initrd /boot/initrd-2.6.21-1.3194.fc7.img
> 
> -> /boot/grub/device.map
> (fd0)     /dev/fd0
> (hd0)     /dev/sda

-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


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