Nieuws:

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

Auteur Topic: klein vraagje Grub  (gelezen 2773 keer)

altruist

  • Gast
klein vraagje Grub
« Gepost op: 2007/07/13, 13:57:07 »
Dual boot systeem windows 2000 proffesional en ubuntu feisty fawn
Mijn vraag gaat over grub
tijdens het opstarten kan ik netjes kiezen uit de verschillende opties.
allen bij het kiezen van windows krijg ik een blauw scherm met de melding  inaccessible boot device
nu denk ik zelf dat ik het menu van grub moet bijwerken en grub laten kiezen maja als windows niet start en ik kan de melding niet goed lezen
weet ik ook niet wat ik moet bijwerken in andere topic kon ik al lezen dat er in de menulst gewerkt kan worden . dat lukt wel maar nu

Offline Mario

  • Lid
klein vraagje Grub
« Reactie #1 Gepost op: 2007/07/13, 14:11:09 »
is er misschien een usbapparaat aangesloten zoals een toetsenbord of iets anders ?
PC:Intel dual core 6600 2.4Ghz-Abit AB9-nvidia GeForce 9600 GT-
dual-boot : Debian Lenny - Windows 7
Alle beschrijvingen van de werkelijkheid zijn tijdelijke veronderstellingen

altruist

  • Gast
klein vraagje Grub
« Reactie #2 Gepost op: 2007/07/13, 14:19:44 »
Nee er is geen usb aangesloten ik heb wel de melding weten te achter halen .
deze melding is        Inaccessible boot device

Offline mcgyver

  • Lid
klein vraagje Grub
« Reactie #3 Gepost op: 2007/07/13, 15:07:07 »
Heeft ie eerder goed gedraaid? Je hebt nu dus geen TOEGANG tot de schijf.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #4 Gepost op: 2007/07/13, 17:07:16 »
Kan je nu Ubuntu opstarten en het volgende doen?

Open een terminalvenster
Plaats de resultaten van de volgende commando's hier:
sudo fdisk -l
cat /boot/grub/device.map

Kan je ook de inhoud van /boot/grub/menu.lst hier plaatsen?

altruist

  • Gast
klein vraagje Grub
« Reactie #5 Gepost op: 2007/07/13, 19:38:16 »
oke hier zijn de resultaten
eerst sudo fdisk -l

Schijf /dev/hda: 164.6 GB, 164696555520 bytes
255 koppen, 63 sectoren/spoor, 20023 cilinders
Eenheid = cilinders van 16065 * 512 = 8225280 bytes

 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/hda1   *           1       16708   134206978+   7  HPFS/NTFS
/dev/hda2           16709       17924     9767520   83  Linux
/dev/hda3           17925       18167     1951897+  82  Linux wisselgeheugen
/dev/hda4           18168       20023    14908320   83  Linux

Schijf /dev/hdb: 164.6 GB, 164696555520 bytes
255 koppen, 63 sectoren/spoor, 20023 cilinders
Eenheid = cilinders van 16065 * 512 = 8225280 bytes

 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/hdb1               1       16709   134215011    7  H

daarna
 cat/boot/grub/device.map

(hd0)   /dev/hda
(hd1)   /dev/hdb

/boot/grub/menu.ls

 Toegang geweigerd

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #6 Gepost op: 2007/07/13, 20:07:42 »
/boot/grub/menu.lst kan je inzien met het volgende commando:
gedit /boot/grub/menu.lst

Dit kan je kopiëren naar een terminalvenster, of uitvoeren met ALT-F2

altruist

  • Gast
klein vraagje Grub
« Reactie #7 Gepost op: 2007/07/13, 20:41:42 »
okee hier is de uitkomst

# 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 change this entry to 'saved' 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      10

## 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=f186ac65-fcf2-4196-bb58-8ad6a08b3900 ro

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

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

## 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

## ## End Default Options ##

title      Ubuntu, kernel 2.6.20-16-generic
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=f186ac65-fcf2-4196-bb58-8ad6a08b3900 ro quiet splash
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=f186ac65-fcf2-4196-bb58-8ad6a08b3900 ro single
initrd      /boot/initrd.img-2.6.20-16-generic

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=f186ac65-fcf2-4196-bb58-8ad6a08b3900 ro quiet splash
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=f186ac65-fcf2-4196-bb58-8ad6a08b3900 ro single
initrd      /boot/initrd.img-2.6.20-15-generic

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

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title      Microsoft Windows 2000 Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #8 Gepost op: 2007/07/13, 20:55:29 »
menu.lst lijkt mij in orde.

Kan je windows opstarten in de veilige modus?
Dit doe je dacht ik door op F8 te drukken direct nadat je in grub hebt gekozen om windows te starten.

Kan je de exacte foutmelding die windows geeft plaatsen?

altruist

  • Gast
klein vraagje Grub
« Reactie #9 Gepost op: 2007/07/16, 16:05:23 »
sorry dat het zolang voor duurde een antwoord
ik heb windows inderdaad in veilige modus kunnen krijgen tenminste daar waar ik de keuze krijg om in een bepaalde modus op te starten .
Na een keuze te hebben gemaakt welke dan ook krijg ik deze foutmelding

0x0000007b (0xf681b84c,0xc0000034,0x00000000,0x00000000)

Inaccessible _boot_device

Offline mcgyver

  • Lid
klein vraagje Grub
« Reactie #10 Gepost op: 2007/07/16, 16:58:28 »
Je hebt iets verknoeid. Kan je niet met de gparted live cd kijken hoe de partities er uit zien?

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #11 Gepost op: 2007/07/16, 17:06:10 »
Lees deze resultaten door:
http://www.google.com/search?aq=t&oq=0x0000007b+&num=20&hl=en&newwindow=1&safe=off&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aofficial&q=0x0000007b+windows+2000

Met name de eerste 2 linkjes staat veel info.

Het is wel een heel vervelende foutmelding als die sites zo doorlees.

altruist

  • Gast
klein vraagje Grub
« Reactie #12 Gepost op: 2007/07/16, 18:06:54 »
ik heb idd even naar de resultaten gekeken voor dat ik ging posten het word een moeilijke klus om dat weer in orde te krijgen ik denk dat ik maar naar een alternatieve oplossing moet gaan zoeken .
ik moet gewoon zorgen dat ik al belangrijke files van windows afhaal en dan op een of andere manier de hele pc Linux ga maken
iemand enige ideeën .......

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #13 Gepost op: 2007/07/16, 18:45:46 »
De schijf in een andere Windowspc aansluiten?
Je kan als het goed is ook vanuit Ubuntu op de Windowspartitie komen.

altruist

  • Gast
klein vraagje Grub
« Reactie #14 Gepost op: 2007/07/17, 15:41:07 »
bedankt johan ik heb idd de windhooos partitie kunnen benaderen en hier alle essentiële informatie af kunnen halen maar nu moet ik alle 2 de harde schijven gaan formatteren lijkt mij zo.(behalve het ubuntu gedeelte natuurlijk)
Deze schijven zullen waarschijnlijk geformatteerd moeten worden als ext2?
ik heb zegmaar 2 keer 160 gb 1 met 1 grote partitie(zonder OS) en de andere waar windows en Ubuntu opstaan .
Is het verstandig om dit te doen met de Gnome partitie bewerker of raad jij een andere manier aan.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
klein vraagje Grub
« Reactie #15 Gepost op: 2007/07/17, 16:43:13 »
Wat wil je precies gaan doen?
Moet er weer Windows op komen?
Welke schijven wil je waarvoor gebruiken?

De partities die je voor Ubuntu wil gebruiken moeten ext3 zijn.
De windowspartitie ntfs.
Wat je precies doet met de datapartities moet je zelf even uitzoeken, dat kan fat32, ext3 of ntfs worden.
Wat het handigste is voor jou hangt af van hoe je het gebruikt.

altruist

  • Gast
klein vraagje Grub
« Reactie #16 Gepost op: 2007/07/17, 16:59:29 »
ik wil er gewoon een geheel linux systeem van maken ...