LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2004, 08:23 AM   #1
Lgoat
LQ Newbie
 
Registered: Feb 2004
Location: somewhere incredible
Distribution: slackware!
Posts: 23

Rep: Reputation: 15
Unhappy Problems installing slackware 9.1


I try to install slackware at a 80 gb hda with windows XP installed so im planning a dual boot. At the beginging everything go fine. Ive made a partition in cfdisk and written partition table to disk and i label the linux partition boot(ive tried to label the windows boot too). I use my old swap disk from redhat(ive heard it works) and it get mounted all fine. After ive installed slackware i choose the /bare.i/bzImage(ive tried with the default /boot/vmlinuz too). Then i make a boot disk on a formated flobby. After that i install Lilo at root. I chose expert and add my windows xp partion and linux partition and i also choose framebuffer. After that i restarted the computer as promted with ctrl-alt-del but when it boot i it throws an error in my face that says: Boot from cd: disk boot failure, please insert system disk and press enter. I use the bootdisk i created and syslinux appears and tells me that it will boot /dev/hda6 but when it loads the kernel /boot/vmlinuz(which i didnt choose) and error appears and it ask me to choose another disk. Ive also tried to type:
mount root=/dev/hda6 rw at the boot disk but nothing is changed

What have i done wrong? Please tell me! It must be something obvious that someone know how to handle


ps. can i install lilo at seperate partition? maybe it could solve something!

Last edited by Lgoat; 03-13-2004 at 08:43 AM.
 
Old 03-13-2004, 08:54 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Aren't you supposed to be booting from the boot diskette (the floppy)? Wasn't that why you made one?

Also, boot from CD is failing-- Did you remove the CD? Is your BIOS set to boot from CD, then HDD, then floppy?

As I see it, what is supposed to be happening (or rather what you were trying to do) was to set it up so that if you have the floppy in, you get a menu allowing you to boot Linux, and if there is no floppy then Windows should boot normally from its own bootloader.

But.... you made a boot floppy before installing LiLO, so that can't work (insofar as LiLO isn't on the floppy, which it would need to be for that to work), and LiLO is installed to root, so it can't be found from the bootloader on the MBR. If in fact anything is installed to the MBR, which at this point is a good question.

Sorry, I'm working this out as I go along.

If I was you, I would boot from the Slack CD and either use a recovery tool (sorry, don't have my Slack CDs in front of me atm) or do a reinstall and install LiLO to the MBR, which would give you the menu to choose Windows or Slack on boot (which you already seem to know how to configure).

Are you certain that hda6 is the correct partition? That is the other possiblity.

Hope this helps to some degree, sorry it's not more .
 
Old 03-13-2004, 09:01 AM   #3
Lgoat
LQ Newbie
 
Registered: Feb 2004
Location: somewhere incredible
Distribution: slackware!
Posts: 23

Original Poster
Rep: Reputation: 15
I just made the boot disk to be sure that i was able to boot linux or just to have one.
What i wanted it to do was just to boot up lilo and then i could choose wether i wanted to boot slackware or windows. Sorry if i made it sound like something else.

I will try to reinstall the way you said :9
 
Old 03-13-2004, 09:52 AM   #4
Lgoat
LQ Newbie
 
Registered: Feb 2004
Location: somewhere incredible
Distribution: slackware!
Posts: 23

Original Poster
Rep: Reputation: 15
Its working now! thx alot. Why is it working with MBR?
Thx again!
 
Old 03-13-2004, 10:42 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
The short answer is: because bootloaders come in two stages. One stage must always be on the MBR, and that must contain pointers to where the second stage (which contains any menus and the actual info required to boot any OSes availabe) is located.

Theoretically, one should be able to install LiLO to the Linux root partition and have any pre-existing bootloader on the MBR be undisturbed (although this is not a good idea if the pre-existing bootloader is the Windows bootloader, since it will not recognize any Linux boot partitions, making them unbootable without a floppy).

However, in practice I have seen this fail any number of times, under Slack and Debian Sid (and possibly others; I lose track).

Unquestionably, if you're making a simple dual boot between Windows and one Linux distribution, it is always best to install LiLO to the MBR-- both for your own ease-of-use (because you know that you will have access to both OSes) and for LiLO's peace-of-"mind" (because that's the way it works best).

Installing LiLO to the MBR is the default for a reason .
 
Old 03-13-2004, 11:42 AM   #6
Lgoat
LQ Newbie
 
Registered: Feb 2004
Location: somewhere incredible
Distribution: slackware!
Posts: 23

Original Poster
Rep: Reputation: 15
I didnt use MBR because the installation said it was unsafe
Thx for the info
 
Old 03-13-2004, 12:31 PM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
As you become more experienced with Linux, you will begin to learn when "unsafe" really means unsafe (as in "this function is buggy and may fry something you'll have to pay to replace"), and when it just means "if you are not careful or don't know what you're doing at all, you could lose access to your data until you figure out what you did, and in the worst case could overwrite data that you did not intend to overwrite and which is not backed up".

This "unsafe" was the latter. Basically, Linux is overwriting the Windows bootloader on the MBR with LiLO. Overwriting pre-existing settings is inherently unsafe. So is making or resizing a partition-- and so is the "Save" button when you've edited a text file full of addresses and phone numbers, if you've edited it wrong, because then you've lost whatever was in there before, having saved over it.

Linux just likes to let you know that you are about to do something important, and you should be very sure that you've got it all right before proceeding with major changes to your system.

It will be "a feature, not a bug" when you know more about how the system as a whole works together, especially in the case of a dual-boot .
 
  


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 Lilo with Slackware Hell Cheese Slackware 2 05-02-2004 03:21 PM
Slackware, XP, and Lilo problems Bhishma_ Linux - General 5 11-29-2003 05:52 PM
Installing lilo on slackware 9.0 ThorsHamburger Slackware 34 08-28-2003 07:25 PM
Installing lilo on Slackware 9.0 ThorsHamburger Linux - Newbie 1 08-17-2003 03:09 PM
Lilo not working correctly after installing slackware. jpierce09 Slackware 5 07-15-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

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