Re: Updating lilo win 2000 boot.ini SOLUTION
From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 08/08/04
- Next message: Bill Marcum: "Re: linux newbie question about dual boot"
- Previous message: Steve Martin: "Re: Help with Redmond Linux?"
- In reply to: John Culleton: "Re: Getting rid of Lilo."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 08 Aug 2004 14:05:16 GMT
Would be more effective had you added Solution to subject line to help
newbies using something like
http://groups.google.com/advanced_group_search
On 8 Aug 2004 06:50:21 -0700, John Culleton wrote:
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: Bill Marcum: "Re: linux newbie question about dual boot"
- Previous message: Steve Martin: "Re: Help with Redmond Linux?"
- In reply to: John Culleton: "Re: Getting rid of Lilo."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|