LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Buffalo
User Name
Password
Buffalo This Forum is for the discussion of Buffalo Linux.

Notices


Reply
  Search this Thread
Old 03-03-2005, 11:10 AM   #1
dnyang
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
LILO to GRUB


I just got a new laptop, it came with winxp home. I installed ghost and made an image.

Tried to re-part without killing windows but was not successfull. And so I ended up killing windows (as I repartitioned my harddrive into 4 part).

The partitions are as follows (on ONE harddrive only):

hda1 = ntfs
hda2=linux
hda3=linux
hda4=linux swap

Re-installed winxp image back into the ntfs, installed mepis linux on hda2 and after playing with it finally got it to dual boot.

Now comes the next linux distro - BUFFALO, it installed okay - but it also screwed up my MBR by putting in LILO. So it only booted to BUFFALO from then on.

I re-installed grub and got it back to dual booting to WINXP and MEPIS, and now want to add in BUFFALO, and that is where the problem is. I have looked at the lilo.conf file and here is what it says.

lba32
boot = /dev/hda
prompt
timeout = 90
message= / boot/boot-message.txt
vga=normal
image= /boot/vmlinuz
root= /dev/hda3
label= BUFFALO
read-only

Now the question would be to convert that to GRUB. This is what I think it will be, have tried variations of it but it just goes in a loop and does not boot (just stays at the grub menu screen - actually brings up a grub prompt for me to fix it). This is what I plan on trying next, tell me if it is correct.

title BUFFALO
root (hd0,3)
kernal /boot/vmlinuz root=/dev/hda3
 
Old 03-03-2005, 02:02 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Device numbering in grub is offset by -1, that is, it starts counting disks/partitions at 0.

Replace:
root (hd0,3)

with:
root (hd0,2)

in grub.conf in your buffalo entry and I think you will find joy.
 
Old 03-04-2005, 10:19 AM   #3
dnyang
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thanks

After thinking about it for 24 hrs I came to the same conclusion. And that worked! Thanks for the confirmation. Its easy when you have the right information in GRUB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
grub or lilo anemone Linux - Newbie 2 07-20-2004 07:50 PM
GRUB or LILO (please help) Curucao Linux - Hardware 3 05-15-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Buffalo

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration