Nieuws:

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

Auteur Topic: Installatie Intrepid: grub werkt niet mee  (gelezen 820 keer)

Offline koen_92

  • Lid
Installatie Intrepid: grub werkt niet mee
« Gepost op: 2008/11/08, 17:08:09 »
Hoi,

Ik wilde vandaag Ubuntu 8.10 installeren. (schone installatie)
De installatie ging vlekkeloos, alleen kreeg ik op het eind een error dat grub niet geinstalleerd kon worden.

Later probeerde ik dit met de hand:
grub> root (hd0,4)

grub> setup (hd0)

Error 17: Cannot mount selected partition

grub>
De partitie is wel gewoon te benaderen:
ubuntu@ubuntu:~$ sudo mkdir /mnt/tmp
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt/tmp
ubuntu@ubuntu:~$ cd /mnt/tmp
ubuntu@ubuntu:/mnt/tmp$ ls
bin   cdrom  etc   initrd.img  lost+found  mnt  proc  sbin  sys  usr  vmlinuz
boot  dev    home  lib         media       opt  root  srv   tmp  var
ubuntu@ubuntu:/mnt/tmp$ cd boot/
ubuntu@ubuntu:/mnt/tmp/boot$ ls
abi-2.6.27-7-generic         memtest86+.bin
config-2.6.27-7-generic      System.map-2.6.27-7-generic
grub                         vmcoreinfo-2.6.27-7-generic
initrd.img-2.6.27-7-generic  vmlinuz-2.6.27-7-generic
ubuntu@ubuntu:/mnt/tmp/boot$ ls grub/
default     e2fs_stage1_5  jfs_stage1_5    reiserfs_stage1_5  stage2
device.map  fat_stage1_5   minix_stage1_5  stage1             xfs_stage1_5
ubuntu@ubuntu:/mnt/tmp/boot$
Wat gaat hier fout?

Edit:
Ik ontdek opeens nog iets vreemds:
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x19e419e3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1958    15727603+   7  HPFS/NTFS
/dev/sda2            1959       48641   374981197+   5  Extended
/dev/sda5            1959        3916    15727603+  93  Amoeba  <---------------- Dit is de rootpartitie, wat is amoeba?
/dev/sda6            3917       48380   357157048+  83  Linux
/dev/sda7           48381       48641     2096451   82  Linux swap / Solaris

Disk /dev/sdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x32f232f1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        9964    80035798+   5  Extended
/dev/sdb5               1        9709    77987479+   7  HPFS/NTFS
/dev/sdb6            9710        9964     2048256   82  Linux swap / Solaris
ubuntu@ubuntu:~$

Offline ohjajoh

  • Lid
Installatie Intrepid: grub werkt niet mee
« Reactie #1 Gepost op: 2008/11/08, 17:37:19 »
Wat gebeurt er als je via fdisk die partitie weer terugverandert in nr 83 (linux) ipv 93 (amoeba)?

En wat Amoeba is: http://fsd-amoeba.sourceforge.net/amoeba.html

Offline koen_92

  • Lid
Installatie Intrepid: grub werkt niet mee
« Reactie #2 Gepost op: 2008/11/08, 18:42:14 »
Het ziet er goed uit:
grub> root (hd0,4)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,4)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

grub>
Nu nog even rebooten om te kijken of het echt gelukt is.

Offline koen_92

  • Lid
Installatie Intrepid: grub werkt niet mee
« Reactie #3 Gepost op: 2008/11/08, 19:04:18 »
Ja gelukt :D

Alleen had ik nog geen menu.lst, dus moest ik de regels handmatig invoeren.
Gelukkig stond hier nog een pc met 8.04, waar wel een menu.lst op zat. Het is dus gelukt.

En Amoeba werkt met een microkernel, niet echt iets voor mij.
Wel leuk is dat het uit Nederland komt :)