Re: How do I know my root FS ??

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

 



Onkar N Mahajan wrote:
> [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 ..

I have seen this error. I don't pretend to understand it.
I *think* I got it to work by playing with the
File Systems -> Partition types -> Advanced Partition Selection
when configuring the kernel source. I do remember it was a pain and not
obvious why it wasn't working.
Good luck.

Does anybody understand what you should and should not select for
partition types?
I would have thought for a linux only, ext3 only sata drive box you
could ensure none of them were selected and all would be well. Failing
that if they were all modules that should work as well as they would
only be loaded on demand? Any light you guys have to shed.
Thanks,

Hal

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