Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

need help - how to do between lilo and grup



The Redhat 7.1 is on lilo.conf

[root at data /boot]# cat /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
# prompt
# timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.20-18.7
        label=linux
        read-only
        root=/dev/hda7

image=/boot/vmlinuz-2.4.2-2
        label=linux-up
        read-only
        root=/dev/hda7
*******************************
Thanks

--
DP

--- Jerry Feldman <gaf at blu.org> wrote:
> So, you are saying the /dev/hda7 is your red hat 7.1
> root partition?
> Did you have a separate root and boot partition.
> Please post your
> menu.lst line that lists your RH 7.1.
> On Mon, 26 Jul 2004 09:20:16 -0700 (PDT)
> Dava Peters <gameslover987 at yahoo.com> wrote:
> 
> > Hello,
> > 
> > I still have problem. If I select boot from Red
> Hat
> > 7.1 and got the error could not find /dev/hda7.
> > That's what I did, I edit menu.1st. 
> > I have trouble it seems the new ES doesn't see old
> > paritition. 
> > 
> > Do I need to modify /etc/fstab to add the old
> > partition and what's else I need to do.
> > 
> > Thanks for help.
> > 
> > --
> > DP
> > 
> > This is my setup:
> > ...........................
> > [root at data root]# df -h
> > Filesystem            Size  Used Avail Use%
> Mounted on
> > /dev/hda11            9.7G  259M  8.9G   3% /
> > /dev/hda9             114M   15M   94M  14% /boot
> > /dev/hda10            9.7G   33M  9.1G   1% /home
> > none                  499M     0  499M   0%
> /dev/shm
> > /dev/hda13            4.2G   33M  4.0G   1% /date
> > /dev/hda12            6.8G  2.1G  4.4G  32% /usr
> > .....................................
> > [root at data root]# fdisk /dev/hda
> > 
> > The number of cylinders for this disk is set to
> 14593.
> > There is nothing wrong with that, but this is
> larger
> > than 1024,
> > and could in certain setups cause problems with:
> > 1) software that runs at boot time (e.g., old
> versions
> > of LILO)
> > 2) booting and partitioning software from other
> OSs
> >    (e.g., DOS FDISK, OS/2 FDISK)
> > 
> > Command (m for help): p
> > 
> > Disk /dev/hda: 120.0 GB, 120034123776 bytes
> > 255 heads, 63 sectors/track, 14593 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> > 
> >    Device Boot    Start       End    Blocks   Id 
> > System
> > /dev/hda1   *         1         5     40131   83 
> > Linux
> > /dev/hda2             6     14593 117178110    f 
> > Win95 Ext'd (LBA)
> > /dev/hda5             6      4425  35503618+  83 
> > Linux
> > /dev/hda6          4426      7372  23671746   83 
> > Linux
> > /dev/hda7          7373     10318  23663713+  83 
> > Linux
> > /dev/hda8         10319     10580   2104483+  82 
> > Linux swap
> > /dev/hda9         10581     10595    120456   83 
> > Linux
> > /dev/hda10        10596     11870  10241406   83 
> > Linux
> > /dev/hda11        11871     13145  10241406   83 
> > Linux
> > /dev/hda12        13146     14037   7164958+  83 
> > Linux
> > /dev/hda13        14038     14593   4466038+  83 
> > Linux
> > 
> > ....................................
> > 
> > 
> > Outcome from menu.1st
> > 
> > # 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,8)
> > #          kernel /vmlinuz-version ro
> root=/dev/hda11
> > #          initrd /initrd-version.img
> > #boot=/dev/hda
> > default=0
> > timeout=10
> > splashimage=(hd0,8)/grub/splash.xpm.gz
> > title Red Hat Enterprise Linux ES (2.4.21-4.ELsmp)
> >         root (hd0,8)
> >         kernel /vmlinuz-2.4.21-4.ELsmp ro
> > root=LABEL=/1
> >         initrd /initrd-2.4.21-4.ELsmp.img
> > title Red Hat Enterprise Linux ES-up (2.4.21-4.EL)
> >         root (hd0,8)
> >         kernel /vmlinuz-2.4.21-4.EL ro
> root=LABEL=/1
> >         initrd /initrd-2.4.21-4.EL.img
> > title Red Hat 7.1
> >         kernel (hd0,0) /boot/vmlinuz
> root=/dev/hda7
> >         initrd (hd0,0) /boot/initrd
> > **************************************
> > 
> > [root at data grub]# more /etc/fstab
> > LABEL=/1     /       ext3    defaults        1 1
> > LABEL=/boot1  /boot  ext3    defaults        1 2
> > none  /dev/pts  devpts  gid=5,mode=620  0 0
> > LABEL=/home1 /home  ext3    defaults        1 2
> > none   /proc        proc    defaults        0 0
> > none  /dev/shm      tmpfs   defaults        0 0
> > LABEL=/data1  /data ext3    defaults        1 2
> > LABEL=/usr   /usr   ext3    defaults        1 2
> > /dev/hda8  swap     swap    defaults        0 0
> > /dev/cdrom /mnt/cdrom udf,iso9660
> noauto,owner,kudzu,r
> > o 0 0
> > /dev/fd0  /mnt/floppy  auto    noauto,owner,kudzu
> 0 0
> > 
> > ------------------------------------
> > 
> > 
> > 
> > --- Jerry Feldman <gaf at blu.org> wrote:
> > > On Wed, 21 Jul 2004 09:29:02 -0700 (PDT)
> > > Dava Peters <gameslover987 at yahoo.com> wrote:
> > > 
> > > > 
> > > > Thanks. I'll try.
> > > BTW: You could install LILO on the RH7.1 system
> and
> > > install it on the
> > > partition rather than the MBR, but it is an
> extra
> > > step.
> > > -- 
> > > Jerry Feldman <gaf at blu.org>
> > > Boston Linux and Unix user group
> > > http://www.blu.org PGP key id:C5061EA9
> > > PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14
> 9245
> > > FB00 3ED5 C506 1EA9
> > > 
> > 
> > > ATTACHMENT part 2 application/pgp-signature 
> > 
> > 
> > 
> > 
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Read only the mail you want - Yahoo! Mail
> SpamGuard.
> > http://promotions.yahoo.com/new_mail 
> > _______________________________________________
> > Discuss mailing list
> > Discuss at blu.org
> > http://www.blu.org/mailman/listinfo/discuss
> > 
> 
> 
> -- 
> Jerry Feldman <gaf at blu.org>
> Boston Linux and Unix user group
> http://www.blu.org PGP key id:C5061EA9
> PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245
> FB00 3ED5 C506 1EA9
> 

> ATTACHMENT part 2 application/pgp-signature 




		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org