Nieuws:

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

Auteur Topic: GRUB opstart probleem SATA / IDE  (gelezen 2948 keer)

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Gepost op: 2008/05/19, 22:53:20 »
Zoals de titel al doet vermoeden, mijn grub werkt niet goed.. Ik heb er onderhand wel zelf genoeg mee geknooid.
Ik heb een SATA 320 GB hdd en een IDE 250 GB, ik wil graag Ubuntu op de 250 GB hebben en Windows XP op de 320.
Iedere keer wanneer ik beide geinstalleerd heb krijg ik bij het booten de melding: BOOT DISK FAILURE, BOOT DISK NOT FOUND. Ik heb ze beide van slave naar master gewisseld ( meerdere malen ), maar dat mocht niet baten ( kon het proberen.. )
Iemand suggesties?

Groeten,
Ron

Offline HP

  • Lid
GRUB opstart probleem SATA / IDE
« Reactie #1 Gepost op: 2008/05/19, 23:05:16 »
Ik denk dat je iets specifieker in je probleem moet zijn voordat iemand er iets steekhoudends over kan zeggen; bijv. wat je allemaal al geprobeerd hebt.
En zoek vooral ook even op grub problemen binnen dit forum: er komen dagelijks meerdere draden voorbij over grub errors.
--
Taking on nearly religious proportions, the established monetary institution exists as one of the most unquestioned forms of faith there is. How money is created, the policies by which it is governed, and how it truly affects society, are unregistered interests of the great majority of the population. [Zeitgeist addendum]

Offline joop905

  • Lid
GRUB opstart probleem SATA / IDE
« Reactie #2 Gepost op: 2008/05/20, 00:40:44 »
Kan je iets meer info geven:
In de terminal tik in: sudo fdisk -l
En sudo gedit /boot/grub/menu.lst
en laat de uitkomst hier (kopieren en plakken) eens zien

grj.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #3 Gepost op: 2008/05/20, 01:41:28 »
De output van sudo fdisk -l :
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf3d7f3d7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       38912   312560608+   7  HPFS/NTFS

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6a1ef655

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30273   243167841   83  Linux
/dev/sdb2           30274       30515     1943865   82  Linux swap / Solaris
en van sudo gedit /boot/grub/menu.lst:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
Zoals te zien is staat Windows er helemaal niet tussen.. Vraag me af hoe dat kan ( heb toch echt eerst windows opnieuw geinstalleerd ).

Groeten

NLsandman

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #4 Gepost op: 2008/05/20, 02:41:25 »
Grub staat op sda1 en de windows bootloader staat op sdb1.

kopier het volgende en plak het in jouw grub menu list.

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1
Mocht dat niet werken verander dan (hd0,0) in (hd1,0)

Toevoeging, hiddenmenu moet je ook verwijderen uit menu list.

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #5 Gepost op: 2008/05/20, 12:37:25 »
Bedankt voor de snelle reacties!
Na een beetje rondgelezen te hebben ben ik er wel achter dat SATA en IDE schijven gemixed nog wel eens problemen kunnen geven, jammergenoeg nog geen oplossing gevonden.

Ik heb hd (0,0) en hd (1,0) geprobeerd en ze gaven respectievelijk deze errors:
NTLDR is missing
Press Ctrl+Alt+Del to restart
en

Invalid or unsupported executable format
Press any key to continue...
Wat nu..
Ik heb gelezen dat het aan de BIOS kan ligggen aangezien die IDE boven SATA pakt, ook al zijn ze goed gejumped.

Iemand suggesties?

Offline betoel

  • Lid
GRUB opstart probleem SATA / IDE
« Reactie #6 Gepost op: 2008/05/20, 12:47:26 »
Raid,
Probeer het volgende eens.
Eerst op de ene schijf XP installeren, daarna op de andere Ubuntu
In de bios de ubuntu-schijf als eerste in de boot-volgorde zetten
Zelf heb ik soortelijke configuratie maar dan allebei als master en dat geeft geen problemen althans bij mij
mvg
AMD 64 X2 dualcore 3800+  -  4Gb 
Geforce 7200GS 256 MB
Syncmaster 720N - 1024 x786
Dualboot met XP - Win7 en Liinux Mint 13  XFCE 4.10

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #7 Gepost op: 2008/05/20, 12:50:57 »
Bedankt betoel, ik zal het eens proberen. Is al de zesde keer dat ik ze beide opnieuw moet installeren.. Stomme XP start gewoon niet.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #8 Gepost op: 2008/05/20, 14:48:49 »
Zonder succes...

GRUB opstart probleem SATA / IDE
« Reactie #9 Gepost op: 2008/05/20, 15:41:15 »
Raid ik heb eerst Ubuntu geinstalleerd op een SATA schijf, daarna een IDE schijf er bij gezet en daar Windows op geinstalleerd. De Grub opnieuw geinstalleerd http://www.ubuntu-nl.org/documentatie/overig/grubherstel/   Daarna in de BIOS het opstarten van de schijven verwisselt. Het draait hier prima.  Later heb ik nog een partite geformateert op de SATA schijf puur voor windows spelletjes i.v.m. de groote van de IDE schijf(6GB). Ik hoop dat je er iets aan hebt.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #10 Gepost op: 2008/05/20, 15:50:37 »
Citaat van: Gijsbert
Raid ik heb eerst Ubuntu geinstalleerd op een SATA schijf, daarna een IDE schijf er bij gezet en daar Windows op geinstalleerd. De Grub opnieuw geinstalleerd http://www.ubuntu-nl.org/documentatie/overig/grubherstel/   Daarna in de BIOS het opstarten van de schijven verwisselt. Het draait hier prima.  Later heb ik nog een partite geformateert op de SATA schijf puur voor windows spelletjes i.v.m. de groote van de IDE schijf(6GB). Ik hoop dat je er iets aan hebt.

Met vriendelijke groet,

Gijs
Ja dat is mij ook gelukt. Maar het probleem is dat ik het eigenlijk andersom wil hebben, Windows op de SATA en Ubuntu op de IDE. Ik wil de snelheid van mn SATA ook gebruiken puur voor spelletjes, ik weet dat het niet veel scheelt, maar het is wel merkbaar. Plus de grotere SATA schijf heeft natuurlijk veel meer ruimte voor installatie files.
Toch bedankt voor je inbreng!

NLsandman

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #11 Gepost op: 2008/05/20, 16:03:29 »
Dus wat gijsbert zegt maar dan eerst de ide aansluiten en ubuntu erop, daarna sata aansluiten en xp er op werkt niet?

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #12 Gepost op: 2008/05/20, 16:06:26 »
Nee werkt jammergenoeg niet..

NLsandman

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #13 Gepost op: 2008/05/20, 16:32:45 »
al geprobeerd om die ide met ubuntu af te koppelen en daarna xp op die sata schijf te installeren?
Zorg er wel voor dat in de bios de ide schijf eerder boot dan die sata.
Koppel de ide weer aan en start op in unbuntu,  kopier en plak je fdisk en menu.lst gegevens eens hier.
Dan kunnen we jouw grub menu.lst aanpassen zodat je windows van die 2e sata schijf kunt booten.
Door het bovenstaande staat jouw bootloader van windows compleet op die 2e sata schijf.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #14 Gepost op: 2008/05/20, 23:52:55 »
Ik zal windows opnieuw installeren met de ubuntu IDE afgekoppeld en daarna hier de inhoud van fdisk en menu.lst posten. Moment :)

GRUB opstart probleem SATA / IDE
« Reactie #15 Gepost op: 2008/05/21, 00:28:48 »
Ik denk dat je even in de bios naar de opstart volgorde van de schijven moet kijken. Als Windows en Ubuntu allebei hun eigen bootrecord op hun eigen schijf zetten en je start bv. alleen van de eerste harde schijf op, dan kan het andere os geen bootrecord vinden.
Wie de gemakkelijkste weg niet zoekt is een luiaard. :)
Linux User #228066

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #16 Gepost op: 2008/05/21, 00:29:26 »
Wederom mijn fdisk:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf3d7f3d7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       38912   312560608+   7  HPFS/NTFS

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6a1ef655

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30273   243167841   83  Linux
/dev/sdb2           30274       30515     1943865   82  Linux swap / Solaris
en mijn menu.lst :
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

title Windows XP
root (hd1,0)
savedefault
makeactive
chainloader +1
Hopen dat iemand er raad mee weet..

Zoals gezegd zit grub dus op de IDE schijf en de windows bootloader volledig op de SATA,

NLsandman

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #17 Gepost op: 2008/05/21, 02:25:02 »
xp boot nu niet als je hem kiest in het grub menu tijdens de opstart?

Wat wel weer lekker vaag is dat je met de ide opstart maar 1 maal in ubuntu dan ziet hij de sata weer als 1e schijf.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #18 Gepost op: 2008/05/21, 02:31:41 »
Ja vreemd. En nee, windows wil niet opstarten. Ook niet als ik de boot hdd priority aanpas in de bios.

Raid

  • Gast
GRUB opstart probleem SATA / IDE
« Reactie #19 Gepost op: 2008/05/21, 04:00:22 »
YES! EINDELIJK!
Ik weet dat het laat is, maar ik kan me hier altijd zo druk om maken dat ik het gefixed moet hebben voor ik naar bed ga :P

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=eb45cde7-446a-4940-b8d2-512ab623af0c ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

title Other operating systems:
root

title Microsoft Windows XP Professional Edition
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
makeactive
Zo werkt het. Het probleem was dat Windows perse wil dat het vanaf de 1e ( dus in GRUB 0ste ) hdd wordt geboot. Hiervoor dus het mappen, maar dan andersom aangezien de Ubuntu parttitie de hoofd partitie is!

Heel erg bedankt voor alle hulp!