Re: How do I know my root FS ??

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

 



[root@localhost grub]# /sbin/fdisk -l

Disk /dev/sda: 17.1 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1785    14337981   83  Linux
/dev/sda2            1786        2088     2433847+  82  Linux swap


so /dev/sda1 i put it in the grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.12.6)
       root (hd0,0)
#       kernel /boot/vmlinuz-2.6.12.6 ro root=LABEL=/ rhgb quiet
#       kernel /boot/vmlinuz-2.6.12.6 ro root=/dev/sda1
       kernel /boot/vmlinuz-2.6.12.6 root=/dev/sda1
       initrd /boot/initrd-2.6.12.6.img
title Red Hat Enterprise Linux AS (2.6.9-42.0.10.EL_lustre.1.4.10smp)
       root (hd0,0)
       kernel /boot/vmlinuz-2.6.9-42.0.10.EL_lustre.1.4.10smp ro
root=LABEL=/ rhgb quiet
       initrd /boot/initrd-2.6.9-42.0.10.EL_lustre.1.4.10smp.img
title Red Hat Enterprise Linux AS (2.6.9-5.EL)
       root (hd0,0)
       kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
       initrd /boot/initrd-2.6.9-5.EL.img


but still - same ..

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux