[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: How to recover boot floppy in Lenny



2010/4/17 Mauricio Contreras:

> On Fri, Apr 16, 2010 at 11:44 AM, Camaleón wrote:

(...)

>> First you have to do is *to know* what hard disk is being booted in 
first
>> place by the BIOS ("IDE 80" -windows- or "SATA 500" -lenny-). After 
that,
>> put here the results of your findings and we will see what could be the
>> better setup for installing GRUB :-)

> I'm enclosing results from fdisk -l and the current grub setup from 
menu.lst

(...)


> THIS COMES FROM /boot/grub/menu.lst. It doesn't boot linux!

(...)

> Right now the system boots Windows XP directly.


O.k. So now you are *not getting* the GRUB menu, right?

By reading the data you provided, I'd say your BIOS is setup to boot at 
first the disk that holds windows OS and so windows loads "directly".

If that is true, I will make you some suggestions/ways to solve/bypass 
this. 

(Disclaimer: all of these options are "risky" -as so is any action that 
involve the bootloader- so please, if in doubt, *ask someone in the know* 
to make the job and before taking any step keep your "invaluable" data in 
a safe place)

1/ Install GRUB into the MBR of the first disk.

Caution! this will cause the current bootloader of the disk (that is, 
windows bootloader) will be *lost* and GRUB will take control of the 
booting process... it should be no problem but when windows comes into 
play, one never knows.


2/ Create a new partition into the hard disk holding windows OS to 
install GRUB there. Then, you can mark that partition with the "bootable 
flag". In theory, this will pass the boot control to GRUB and you could 
boot any OS from there.


3/ Change the BIOS order of the hard disk booting devices.

Caution! This can mess a bit the current setup of your debian lenny 
install, I am not sure what will be the results.

By selecting as hard disk "first boot device" the disk where you have 
installed Debian lenny, this will make you boot directly into Debian. 
Then you can:

a) Install GRUB into the hard disk MBR
b) Install GRUB into the first sector of a partition

(note: probably you already have GRUB installed somewhere in the hard 
drive)


And... I think I have no more advices to handle this situation, if 
someone wants to add another one, I'm sure the OP will thank any idea O:-)

Greetings,

-- 
Camaleón



Reply to: