compiling FC2 kernel

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

 



dear all!
    i want to edit bootloader configuration for my kernel. i do n't
understand how to modify the grub.conf file. i 'm n't clear to modify
the  " root=LABEL=/ " in grub.conf (i.e. it is  /dev/hda1 or 
/dev/hda2 or something else).( i 'm using Windows XP as other OS on
system.)


My Grub.conf file is :--

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/hda5
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
	root (hd0,2)
	kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.5-1.358.img
title Other
	rootnoverify (hd0,0)
	chainloader +1


My /etc/fstab file  is :--

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

df -a output is :--

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5             25395572   7120984  16984552  30% /
none                         0         0         0   -  /proc
none                         0         0         0   -  /sys
none                         0         0         0   -  /dev/pts
usbdevfs                     0         0         0   -  /proc/bus/usb
/dev/hda3                99075      7320     86640   8% /boot
none                    254168         0    254168   0% /dev/shm
sunrpc                       0         0         0   -  /var/lib/nfs/rpc_pipefs



I 'm trying to modify the lnux kernel parameters. so; my kernel is
ought to be crashed. is there any shortcut for compiling the linux
kernel. i found very cumbersome that i 've to set parameters every
time i do  " make  config".

Thanking You
Abhijit Kumar


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

  Powered by Linux