Re: Getting rid of Lilo.
From: John Culleton (john_at_wexfordpress.com)
Date: 08/08/04
- Next message: Steve Martin: "Re: Help with Redmond Linux?"
- Previous message: magnulus: "Re: Get M-Audio Revolution 7.1 or Creative Lab's SoundBlaster Audigy2?"
- In reply to: Bill Unruh: "Re: Getting rid of Lilo."
- Next in thread: Bit Twister: "Re: Updating lilo win 2000 boot.ini SOLUTION"
- Reply: Bit Twister: "Re: Updating lilo win 2000 boot.ini SOLUTION"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Aug 2004 06:50:21 -0700
unruh@string.physics.ubc.ca (Bill Unruh) wrote in message news:<cf32st$9nc$1@nntp.itservices.ubc.ca>...
> john@wexfordpress.com (John Culleton) writes:
>
> ]after much weeping and gnashing of teeth I have convinced my computer
> ]to boot both Win 2000 and Linux, using the Win boot memo. Now I need
> ]to either modify or get rid of my former lilo menu. Trouble is, I
> ]can't. Here is my setup:
> ]/dev/hda1 Win 2000
> ]/dev/hda2 Linux
>
Problem solved. turns out LILO resides in the bootsect and when I
copied the bootsect of /hda2 to /hda1 that was before lilo was
updated. So I stripped lilo.conf down to just the Linux partition and
made the wait time 30 instead of the default 300.
Here is the rest of the drill:
1. Make /hda2 the boot partition via cfdisk.
2. Run lilo
3. "dd if=/dev/hda2 of=bootsect.lnx bs=512 count=1"
4. Copy the file bootsect.lnx to the /hda1 partition, either directly
(fat partition) or indirectly via floppy (ntfs partition.)
5. boot Linux via floppy and make /hda1 the boot partition via cfdisk.
6. Edit the file on /hda1 boot.ini to include a line for Linux. I
edited mine directly from Linux via Vim, but if ntfs is in play one
has to boot Windows,
"attrib -r boot.ini", edit the file and "attrib +r boot.ini"
Here is my Windows boot.ini:
=========================================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional" /fastdetect
C:\bootsect.lnx="Linux"
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Microsoft Windows 2000
NTFS" /fastdetect
==========================================================
I have two Windows partitions (one fat, one ntfs) and I made the fat
one on hda1 the default. (I may experiment with making Linux the
default.)
I put the Linux boot line second on the list.
I still get an error message if I try to boot windows 2k via lilo.
Hence the above lashup.
John c.
- Next message: Steve Martin: "Re: Help with Redmond Linux?"
- Previous message: magnulus: "Re: Get M-Audio Revolution 7.1 or Creative Lab's SoundBlaster Audigy2?"
- In reply to: Bill Unruh: "Re: Getting rid of Lilo."
- Next in thread: Bit Twister: "Re: Updating lilo win 2000 boot.ini SOLUTION"
- Reply: Bit Twister: "Re: Updating lilo win 2000 boot.ini SOLUTION"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|