LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-03-2004, 09:59 PM   #1
eltoro
Member
 
Registered: Oct 2004
Posts: 30

Rep: Reputation: 15
How to boot Mandrake 10.1 without diskette or LILO?


I've installed Mandrake 10.1 in the last 8GB of my drive (plenty of space for my needs), but for some reason LILO won't show itself at boot, and strangely enough the Mandrake 10.1 installation didn't offer me the option to create a boot diskette ?!?!

This computer also contains WinXP, and I once added LILO to the boot.ini file by running the following commnad (from within linux):
# dd if=/dev/sda8 of=/bootsect.lnx bs=512 count=1

and then adding the line:
C:\BOOTSECT.LNX="Mandrake Linux"

To the boot.ini file, and all works perfectly, and I was able to load LILO from within Windows' boot menu.

BUT, how can I now load my installed Mandrake considering the info in the subject...???


Thanks in advance!
Tom
 
Old 10-03-2004, 10:06 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
maybe the rescue mode helps. Insert the installation CD, press F1 for more options and then type in rescue - I think this is what you do; just read the screen for the exact info. Maybe it gives an option to reinstall lilo. If it doesn't, you should be able to get to a command prompt and install lilo by hand.
 
Old 10-03-2004, 10:50 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Lilo

I've installed Mandrake 10.1 in the last 8GB of my drive (plenty of space for my needs),

In most cases the /boot directory MUST occur within the first 1024 (or is it 2048) "tracks" of the HDD or else the system will not boot even if you have everything else properly configured.

Usually I place a small /boot partition for Linux "low" on the hard drive, followed by a swap, XP then finally Linux itself.

If the /boot partition is low, then once Linux starts loading it will be able to deal with the linux root partition(s) which may be beyond the limits.
 
Old 10-04-2004, 12:16 AM   #4
eltoro
Member
 
Registered: Oct 2004
Posts: 30

Original Poster
Rep: Reputation: 15
quatsch - I'll try the rescue option and see which options is offers (maybe it even allows booting into the already installed OS as a boot diskette will do).

opjose - what do you think the size of this /boot partition should be?
(take into account that I need a small installation only for Linux/Linux Networking services learning)

Thanks.
 
Old 10-04-2004, 04:45 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Quote:
Originally posted by eltoro
quatsch - I'll try the rescue option and see which options is offers (maybe it even allows booting into the already installed OS as a boot diskette will do).

opjose - what do you think the size of this /boot partition should be?
(take into account that I need a small installation only for Linux/Linux Networking services learning)

Thanks.
I leave a /boot partition of about 64 to 128 megs which should suffice for any foreseeable kernel combination.

Even that is a bit of overkill though I'm using fairly large (200+ gig) drives..
 
Old 10-04-2004, 07:13 AM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
the 1024 cylinder limitation of lilo is obsolete. You should have no problems with your current setup. my boot partiton starts at cylinder 1307.

Last edited by quatsch; 10-04-2004 at 07:14 AM.
 
Old 10-04-2004, 07:28 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Eh, no.

I'm not sure what the current cutoff is, but the /boot area from which the kernel is loaded still must be below some limit.

This is more of a bios/HD issue than it is a linux / lilo / grub problem.
 
Old 10-04-2004, 09:00 AM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
lilo has a -L switch which generates a 32-bit block address (see man lilo). You've got to have a pretty damn huge harddrive to bust this limit (nothing you would have on a desktop). It will only be a problem on a system with no LBA support but if the disk has 8GB to spare after a full windows install, I'm sure it has LBA support.
 
Old 10-05-2004, 05:21 AM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Thanks.

I'll try that.

Although I've found for instance, that on my HP Pavilion Laptop with a 60 gig HDD that Linux will not boot unless I place the /boot partition first.

Once this is done, I've had no problems

I ran accross this with Mandrake 9.2 and have held over the same partitioning with Mandrake 10 as well.

(Or is it Windows XP that had the problem forcing me to do this for Linux?)

I ended up with

/boot
SWAP
/Windows
/Linux_Root

On the same drive.
 
Old 10-05-2004, 08:18 AM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I have a 60G hd myself and the order I have now is

windows
/boot
linux partitions

which works fine. I've also had the /boot partition much later on the disk and it was fine, too. You put lilo onto the MBR, right?
 
Old 10-05-2004, 10:49 AM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yeah it's on the MBR.

Given your post, I'm doubting my recollection.

Heh.
 
Old 10-06-2004, 06:55 AM   #12
eltoro
Member
 
Registered: Oct 2004
Posts: 30

Original Poster
Rep: Reputation: 15
A very strange situation!!!

I've just managed installing and booting to Mandrake 10.0 !!!
Tried exactly the same settings as I did with Mandy 10.1 but with 10.0 it worked!!! I managed to load the OS and login.

But, some of my devices were not detected properly (like my onboard 3COM 3C940 1GBE controller).
I know Mandy 10.1 detects it properly during the install, so I though about upgrading the working Mandy 10.0 to 10.1.
But, after I selected "Upgrade Mandrake Linux release 10.0 (Community)" in the Mandy 10.1 installation, at the next stage (it jumpted straight to Partitioning), it only gave me an error:
"An error occurred
Oops, no root partition."

Why the f**k Mandy 10.1 has a problem with root partitions in my system ???
Why can't it work where the previous release did ???
Could it be that this is a bug with Mandy 10.1?
Could a BIOS update fix this?


BTW, in my Mandy 10.0 installed LILO I have 2 additional options than with the LILO installed by Mandy 10.1:
Linux-enterprise
Linux-smp

Both load the OS properly.

I also checked and the "Linux" option works fine too.
 
Old 10-06-2004, 10:43 AM   #13
eltoro
Member
 
Registered: Oct 2004
Posts: 30

Original Poster
Rep: Reputation: 15
I've opened a new thread for this issue, as right now the center of the problem is different from the topic (subject) of this thread:
http://www.linuxquestions.org/questi...hreadid=239372
 
Old 10-09-2004, 04:56 AM   #14
eltoro
Member
 
Registered: Oct 2004
Posts: 30

Original Poster
Rep: Reputation: 15
For those who might be interested, this problem was probably caused by a problem in the partition table.
When I tried installing Fedora 2, just before the disk druid stage of the installation it gave me a warning regarding such a problem.
After a low level format the problem was solved.
 
  


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
Slack 2.6.7 upgrade w/ lilo for diskette users H2O-linux Linux - Newbie 0 12-14-2004 05:34 PM
boot diskette hokagi_ninja Linux - Newbie 3 10-03-2004 10:59 PM
Need Mandrake 10.0 boot diskette Sliver Mandriva 3 07-06-2004 01:11 PM
Can't see LILO files on diskette laceupboots Linux - Newbie 6 01-21-2004 01:23 AM
running lilo on diskette? NGraphiX Linux - General 1 10-05-2002 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:44 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
Open Source Consulting | Domain Registration