Linux and windows install

Francois Massonneau frmas at free.fr
Wed Mar 16 19:06:57 UTC 2005


Le Mercredi 16 Mars 2005 15:57, Paul Howarth a écrit :
It doesn't work. See below

> Is your 160GB drive an SATA drive? Linux treats these as SCSI disks
> rather than IDE disks.

yes

> > Once there, I did what you said, but as windows is install on the 160
> > gigas HD, I typed :
> > grub-install /dev/sda
> > I've got :
> > no error reported,
> > This device map was generated by anaconda.
> > (fd0) /dev/fd0
> > (hd0) /dev/hda
> > (hd1) /dev/sda
> > I've tried to reboot, and all I get is :
> > GRUB
> > and nothing else. the system stays that way with just the word "grub".
> > i've tried with the boot sequence from the bios to switch the first hd to
> > boot, but once again, same message : "GRUB" and nothing else.
> > I'm totally lost, and don't know what to do, to recover my two operating
> > systems.
>
> If sda is the device that your system is booting from, your BIOS
> probably considers it to be the "first" drive, and so your device map is
> wrong, and should read:
>
> (fd0) /dev/fd0
> (hd0) /dev/sda
> (hd1) /dev/hda
>
> You should be able to boot from the rescue CD and do:
>
> # chroot /mnt/sysimage
> # vi /boot/grub/device.map
> (fix the device.map using your favourite editor)
> # grub-install /dev/sda


I did that, but it has failed ;-(((

Now when I boot, I see :
booting linux 2.6.9-1.667smp
root hd0,0
filesystem type unknown, partition type 0x7
kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
error 17 : cannot mount selected partition
press any key to continue.

First, I should have seen the grub menu.
but if i press a key, I can see the grub menu, but the screen is black and 
white only with vertical lines, and is very difficult to read.
So once I can see (imagine) the grub menu, I have in it the  three options 
(linux, linux smp, and windows)
None of them works.
if I try windows, I see :
root noverify (hd1,0)
chainloader +1
error 10 (I'm not sure about the number displayed) : invalid or unsupported 
executable.

when booting with the rescue disk, I have in the grub.conf file :
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
title Linux (2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Linux-up (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
title windows
rootnoverify (hd1,0)
chainloader +1

Something must be wrong in it.

thank you to everybody who could help. Thanks. Francois




More information about the fedora-list mailing list