Grub - Error 17: Cannot mount selected partition

Hier kommt alles rein, was die restliche Software des Systems angeht.

Moderator: Moderator

Grub - Error 17: Cannot mount selected partition

Beitragvon OEmer » 16.11.2007, 19:48

Nach einer Neuinstallation von Ubuntu bekomme ich obige Fehlermeldung, wenn ich in grub eine Startpartition auswähle.

Komischerweise funktioneirt das allerdings, wenn ich die Ubuntu7.10 CD einlegeund dort "Boot from first harddrive" auswähle...

Hier ein auszug aus meiner menu.lst:

Code: Alles auswählen
## ## 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=f2baf2f7-3d45-47aa-ab13-f2029237adbf 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

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

## ## End Default Options ##

title      Ubuntu 7.10, kernel 2.6.22-14-generic
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=f2baf2f7-3d45-47aa-ab13-f2029237adbf ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
quiet

title      Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=f2baf2f7-3d45-47aa-ab13-f2029237adbf ro single
initrd      /boot/initrd.img-2.6.22-14-generic

title      Ubuntu 7.10, 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 an existing
# linux installation on /dev/hdb1.
title      Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=0a372a00-b021-4de9-8ddf-7237ce6fd74f ro quiet splash locale=de_DE
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=UUID=0a372a00-b021-4de9-8ddf-7237ce6fd74f ro single
initrd      /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Ubuntu 7.10, kernel 2.6.20-16-generic (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=0a372a00-b021-4de9-8ddf-7237ce6fd74f ro quiet splash locale=de_DE
initrd      /boot/initrd.img-2.6.20-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode) (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=0a372a00-b021-4de9-8ddf-7237ce6fd74f ro single
initrd      /boot/initrd.img-2.6.20-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb1.
title      Ubuntu 7.10, memtest86+ (on /dev/hdb1)
root      (hd1,0)
kernel      /boot/memtest86+.bin 
savedefault
boot


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



EDIT by Cyberspace19://CODE-Tags eingefügt
OEmer
 
Beiträge: 31
Registriert: 19.09.2007, 12:59

Beitragvon Cyberspace19 » 16.11.2007, 21:10

Hi OEmer!

Post doch bitte noch die Ausgabe von
Code: Alles auswählen
sudo fdisk -l


Problem deutet darauf hin, dass deine Grub-Installation nicht wirklich passt.

#Greetz,
Cyberspace19
IRC-Server: irc.freenode.net IRC-Channel: #linuxgaming.de
TeamSpeak Server: https://www.linuxgaming.de
Benutzeravatar
Cyberspace19
 
Beiträge: 2693
Registriert: 22.06.2006, 15:24
Lizenz: FDL

Beitragvon OEmer » 17.11.2007, 02:02

Danke für deine Antwort :)

Zu meinen Festplatten/Partitionen:
hdb ist eigentlich komplett ausser Betrieb. Darauf vorhanden ist eine win2000 und eine alte Ubuntu-Installation, allerdings hat die Platte letztens den Geist aufgegeben.
hda war ein reiner Datenspeicher, auf dem ich mir daraufhin Platz für Ubuntu gemacht habe (daher die große ntfs-Partition am Anfang).

Hier die Ausgabe:

Disk /dev/hda: 123.5 GB, 123522416640 bytes
255 heads, 63 sectors/track, 15017 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd3f709d

Device Boot Start End Blocks Id System
/dev/hda1 1 11047 88734996 7 HPFS/NTFS
/dev/hda2 * 11048 14848 30531532+ 83 Linux
/dev/hda3 14849 15017 1357492+ 5 Extended
/dev/hda5 14849 15017 1357461 82 Linux swap / Solaris

Disk /dev/hdb: 30.7 GB, 30738677760 bytes
255 heads, 63 sectors/track, 3737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x35ce35cd

Device Boot Start End Blocks Id System
/dev/hdb1 1 2924 23486998+ 83 Linux
/dev/hdb2 3578 3737 1285200 5 Extended
/dev/hdb3 * 2925 3577 5245222+ 7 HPFS/NTFS
/dev/hdb5 3578 3737 1285168+ 82 Linux swap / Solaris

Partition table entries are not in disk order
OEmer
 
Beiträge: 31
Registriert: 19.09.2007, 12:59

Beitragvon Cyberspace19 » 19.11.2007, 20:48

Hm... :ueberleg:

Hast schon mal im BIOS nachgeschaut, ob deine /dev/hda als primäres Bootmedium drin ist? War mal bei mir ein Fehler.

Was ich mich gerade auch frage: wo genau liegt die /boot Partition drauf?
/dev/hda2 oder /dev/hdb1?

#Greetz,
Cyberspace19
IRC-Server: irc.freenode.net IRC-Channel: #linuxgaming.de
TeamSpeak Server: https://www.linuxgaming.de
Benutzeravatar
Cyberspace19
 
Beiträge: 2693
Registriert: 22.06.2006, 15:24
Lizenz: FDL

Beitragvon OEmer » 19.11.2007, 22:18

Sie müsste eigentlich auf hda2 liegen.

Ich habe aus lauter Verzweiflung eben einfach mal groot=hd0,0 und das gleiche bei den root-Einträgen der Linux-Partiton gemacht, und nun funktioniert das.

Zwar einerseit schön, andererseits Verstehe ich die Partitionslisten anscheinend doch noch nicht, da hd0,0 doch eigentlich die erste Partition, und damit die NTFS-Partition ist. Oder hat das damit zu tun, das GRUB im MBR sitzt?

Fragen über Fragen... ;)
OEmer
 
Beiträge: 31
Registriert: 19.09.2007, 12:59

Beitragvon Cyberspace19 » 20.11.2007, 08:40

Sollte mit dem nichts zu tun haben.
Allerdings könnte es sein, dass es mit deinem BIOS zusammenhängt.

Hatte das Problem mal, als ich ein SATA-Laufwerk als FirstBootDevice im BIOS eingerichtet habe. GRUB erkannten aber jeweils die PATA als Primäre und so kam es, dass er die reihenfolge nicht wie angedacht nutzte.

#Greetz,
Cyberspace19
IRC-Server: irc.freenode.net IRC-Channel: #linuxgaming.de
TeamSpeak Server: https://www.linuxgaming.de
Benutzeravatar
Cyberspace19
 
Beiträge: 2693
Registriert: 22.06.2006, 15:24
Lizenz: FDL

Beitragvon OEmer » 21.11.2007, 15:27

Hm, auch im Bios ist die Platte richtig eingetragen... naja, nun muss ich es halt nehmen, wie es ist. bin ja schon zufrieden, das ich nicht mehr per CD "Vorbooten" muss ;)
OEmer
 
Beiträge: 31
Registriert: 19.09.2007, 12:59


Zurück zu Sonstige Software

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron