LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2003, 02:39 AM   #1
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Distribution: Slackware
Posts: 260

Rep: Reputation: Disabled
LILO no longer works after installing Winxp from win2k


ok, so maybe this has been answered? sorry if it has, but i searched for well over 4 hours trying to find a solution to my problem, with no luck

k, so HD specs
1 - 60GB HD split into 30GB (windows fat32) and another 30GB (ext2[believe it is, may be wrong] for Mandrake9.1)
HDA1 - fat32 windows xp partition
HDA5 - ext2 Mandrake partition

so after my install, i booted with the mandrake CD and went to the recovery option, tried using the install lilo boot manager (believe thats it, i know its the first option and its been a long day i cant really remeber what it was called) but it goes through the installation of LILO pretty clean, does Linux, Linux-nonfb?, linux-secure, windows, but when it gets to the windows 2 (dos boot) it errors and tells me
Code:
Fatal: open /dev/sda1: No such device or address
(something to this extent error) ya ok so i checked /dev and i see a sda2,3,4,5,6,7,8,9 but the sda1 is missing so i used that Explore2fs program and got the lilo.conf file from /mnt/etc and edited out the "windows 2" part for sda1 and saved it to a floppy, and tried copying that over the current /mnt/etc/lilo.conf file, but that didnt exactly happen, so i gave up on that after a few attempts
i also tried to do a
Code:
./lilo -C /mnt/etc/lilo.conf
but i came back with an error code about it not knowing what to do with device 0x0103 (at about this time, being fed up enough, i know a few things it can do with that device)
also, so i tried reinstalling mandrake9.1 got to the partition part, but it wanted me to format the drive before moving on with the install, seeing that, i quit the install since i really dont want to lose any of the files i have on that partition

so, here i am asking for help from the rest of you, anyone perhaps have an idea to solve my problems
thanks
 
Old 07-04-2003, 09:17 AM   #2
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
maybe you have mixed the things up, SDA - means slave, and your windows partition is on master? Edit your lilo.conf correctly.
 
Old 07-04-2003, 12:51 PM   #3
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Distribution: Slackware
Posts: 260

Original Poster
Rep: Reputation: Disabled
well the sda1 is suppose to boot into DOS, well i'm a complete newb to this, and i have no idea how to edit files from the command line, so help me out there
 
Old 07-04-2003, 01:49 PM   #4
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
ok Brian:
1. post 'fdisk -l' command
2. post your lilo.conf
 
Old 07-04-2003, 01:50 PM   #5
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Do you have X????????
try 'kate' 'kwrite' 'gedit' in command line to show /etc/lilo.conf or whatever it is in Mandrake .......
 
Old 07-04-2003, 02:44 PM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Brian W

Are you saying that after installing Windows XP onto a drive that previously had Windows 2000 and Mandrake 9.1 installed you can't boot into Mandrake anymore?

If that's the case??? then Windows XP'S boot loader has written over "Mandrakes" Lilo boot loader and hence you'll only get an option to boot Windows XP on next boot - try installing Win XP first them Mandrake 9.1 second - if Lilo doesnt pick up on XP then simply edit the last entry in Lilo (other=......) to point to the Win XP partition - make sure you /sbin/lilo at a console after making changes to lilo.
 
Old 09-10-2003, 01:33 PM   #7
dvs
LQ Newbie
 
Registered: Sep 2003
Distribution: SuSE 8.2, Mandrake 9.1 and Gentoo
Posts: 11

Rep: Reputation: 0
I know this thread is a bit old but here is some info. After upgrading or installing Windows 2000 or Windows XP it overwrites the boot sector with the NT loader. You have to reinstall LILO or GRUB in the boot sector and configure it. Something else to note. M$ is making it more complex to have Linux on a computer that Window$ is on. WinXP actually will block and prevent somehow some things of Linux from working depending on how the partitioning is done. I am not sure how they do it yet but that is just one of my things on a long list of things to hate about Window$ and M$.
 
Old 09-10-2003, 03:58 PM   #8
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Quote:
code:./lilo -C /mnt/etc/lilo.conf
If you are in rescue mode, and your system is mounted under /mnt you should do:

chroot /mnt/ lilo -C /etc/lilo.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing winXP on other partition wipes my MBR....i want my lilo back!! theMonkeY Slackware 2 09-22-2004 07:30 AM
./configure no longer works xecuter Linux - Newbie 2 07-24-2004 12:06 PM
CD-RW drive no longer works wmeler Linux - Hardware 8 02-27-2004 03:07 PM
Modem no longer works infornography Linux - General 3 11-07-2003 12:14 PM
Ethernet no longer works... vthokiestm Linux - Networking 0 07-03-2003 02:34 PM


All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration