Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: dual boot zonder install van grub op MBR  (gelezen 899 keer)

dual boot zonder install van grub op MBR
« Gepost op: 2006/10/27, 15:23:38 »
Hay,

Volgende instructies lijken mij een veilige manier om een dual boot op te zetten en nadien volledig naar ubuntu over te gaan.
Of zie ik iets over het hoofd?

http://www.ubuntuforums.org/showthread.php?t=179902

;)
dierenliefde is onvoorwaardeljk, dierenleed ten zeerste verwerpelijk

dual boot zonder install van grub op MBR
« Reactie #1 Gepost op: 2006/10/30, 13:15:29 »
Hay,
Ik speel nog altijd met het idee om ubuntu toch te installeren op mijn werk PC (AMD 1.5Ghz, 512 Mb ram.
Win2000 staat op de 1ste ide master  : schijf 60 Gb
op de  slave : schijf van 120 Gb ( diverse bestanden en backups)
usb externe schijf : 38 Gb : leeg.
Mijn idee:
Win schijf ontkoppelen, lege schijf (38 Gb) aansluiten op 1ste ide master en ubuntu volledig installeren.
Na update Win schijf aansluiten op de 1ste ide slave en grub configureren volgens onderstaande instructies.
De schijf van 120 Gb als externe gebruiken.
Jullie advies hierover a.u.b.

Citaat
First, disconnect your Windows drive, then connect the drive you want to install Ubuntu on as the primary IDE master drive. After installing Ubuntu, allow the updater to install all the necessary updates, this may take awhile. Shutdown your computer and reconnect your Windows drive as slave, then restart, your computer will boot into Ubuntu.

You will need to edit your menu.lst file:
(Open a terminal, copy & paste one line at a time, press "enter" each time)

Code:

cd /boot/grub sudo cp menu.lst menu.lst_backup sudo gedit menu.lst

The first line changes to the grub directory, the second line makes a backup of your menu.lst file, and the third line opens the menu.lst file using the gedit text editor.

Copy and paste the following lines above the line
###BEGIN AUTOMAGIC KERNEL LIST
Code:

title Windows XP root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1

Note: If grub gives an error when rebooting, you can try rootnoverify (hd1,0) instead of root (hd1,0) in the second line.

To automatically display the grub menu at bootup, find the line
Code:

hidden

and replace with

Code:

#hidden

To adjust the time grub is displayed at bootup, change the timeout(in seconds)

Quit and save settings.

Note: If for some reason you need to restore your original menu.lst:
Code:

cd /boot/grub sudo cp menu.lst_backup menu.lst

Reboot your computer, it will automatically boot to Windows, unless you choose Ubuntu within the time grub is displayed.

If you want to uninstall Ubuntu, you can make the Windows drive primary master and reformat or unplug the Ubuntu drive.

If you want to remove Windows, then you can unplug the Windows drive or reformat it, then open menu.lst

Code:

sudo gedit /boot/grub/menu.lst

and remove the Windows entry in grub.
;)
dierenliefde is onvoorwaardeljk, dierenleed ten zeerste verwerpelijk

dual boot zonder install van grub op MBR
« Reactie #2 Gepost op: 2006/10/30, 15:27:40 »
Of, is deze lijn in /boot/grub/menu.list beter
Citaat
title Windows NT/2000/XP (loader)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
rootnoverify (hd1,0)
makeactive
chainloader +1

remapping hd:s when booting to windows from slave drive is nesessary, because windows wants to think it is in the master drive..

and if you remove either hd from your machine, the other one would work normally like in your example.
:)
dierenliefde is onvoorwaardeljk, dierenleed ten zeerste verwerpelijk

Offline Dave

  • Lid
dual boot zonder install van grub op MBR
« Reactie #3 Gepost op: 2006/10/30, 15:40:21 »
als ik de linux schijf los koppel weet windows geheel niets van dat bestaan af.
bios start automatisch de 2e schijf als de eerste geen respons geeft.