LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Lilo Question...

[ILUG] Lilo Question...

McAuley, Tim T.McAuley at emuse.ie
Thu Feb 1 11:21:03 GMT 2001


> 
> Hi all,
> 
> I installed a system there, then realised after installation 
> that the hda
> drive is, in fact, on hdd, and LILO only boots from floppy.
> 
> So, I tried changing the jumper to primary master, and now it 
> won't mount
> vfs partition - panico totale. 
> 
> My question is: 
> What files do I need to change to set the boot partition to hda6? Coz
> booting off a floppy is not a good solution, and I can't 
> figure out grub at
> all. 
> 

Just last night I've been playing with LILO to get it to boot windows &
linux on a laptop. I have succeeded at last.

Could you provide a few more details please, such as exactly what hard disk
you have, what partitions are on each one, etc...

I'll tell you my set-up anyway, if that helps. I had:
(remember, 1 - 4 are primary, 5 + are logical, u can't put LILO on a logical
partition)

BEFORE
hda1	Windows
hda2	<Extended>
hda5	Swap
hda6	Linux

Only Windows was booting. I couldn't place LILO on the MBR because I have a
boot manager installed due to the fact that the BIOS doesn't support the
size of hard disk I have, so Windows needs help.

Last night I did the following:
- Luckily I have partition magic which is great, so I booted the machine off
that.
I moved the end of the Windows partition in 30MB so I could place a new
linux partition there. That was fine.

- Rebooted machine with Redhat 7 in the drive. Chose "expert text" as the
boot option. This allows you to use fdisk.

- Used fdisk to rearrange the the drive lettering, to match the physical
partitions (an option under expert), and set ONLY hda2 active:
hda1	Windows
hda2	23MB Linux 
hda3	<Extended>	(was hda2, hence needed to fix drive "lettering")
hda5	swap
hda6	linux

- Went into shell, and mount hda6 to /mnt/linux
- Mapped /etc to /mnt/linux/etc and /dev to /mnt/linux/dev (just to keep
LILO happy when I'm running it)
- edited /etc/lilo.conf. First line is where lilo is place, put it to hda2
- Ran lilo.

Now to move /boot
- mounted hda2 to /boot
- moved all the files from /mnt/linux/boot to /boot
- added in an entry for it in /etc/fstab

Rebooted...

And that was it.

I hope this helps.

Tim




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell