|
Denne side idag I alt: 0 Unikke: 0
Denne side nogensinde I alt: 5439 Unikke: 2415
Site ... I alt: 686169 Unikke: 350921 |
|
|
|
GRUB error 17
|
|
olewilly | tir nov 27 2007, 20:50 | |
|
Registeret medlem #39Oprettet: ons jun 27 2007, 18:03 Indlæg: 217 | Hej
Når GRUB loader melder den error 17 .. og maskinen standser. Dettte er sendt via en liveCD , ellers kan jeg ikke komme ind i systemet ! Hvordan kan jeg komme ind ?
OW
| Tilbage til toppen | |
allanadmin | tir nov 27 2007, 22:18 | |
| allanadmin
Oprettet: tor feb 08 2007, 17:58 Indlæg: 1068
| Eller gå ind i kontrol centert (som root) find boot find vælg hvordan dit system boot starter op ... ret ... | Tilbage til toppen | |
olewilly | tir nov 27 2007, 23:37 | |
| Registeret medlem #39 Oprettet: ons jun 27 2007, 18:03 Indlæg: 217
|
Hej
Jeg kan ikke loade da GRUB standser ved ERROR17 ! - Så dette sendes ved en Puppy Linux Live CD ! Tak for linkene .
OW
[ Redigeret tir nov 27 2007, 23:41 ] | Tilbage til toppen | |
allanadmin | ons nov 28 2007, 09:51 | |
| allanadmin
Oprettet: tor feb 08 2007, 17:58 Indlæg: 1068
| Ja det her jeg forstået og det er derfor du skal bruge din LIveCD til at gå ind med og derfra "springe" over på det "rigtige" system og rette det...som root... altså start din livecd gå ud i en koncoll bliv root find ikke det live system men det rigtige system og ret fejlen.
http://www.linuxin.dk/forum/index.php?ops=linuxin&fmode=vis&visid=27626&grid=2
Eksepmler : title PClinuxos root (hd0,3,a) kernel /boot/loader boot
men for den her fejl når jeg vælger den under grub.
Kode:
root (hd0,3,a) Filesystem type unknown, partition type 0xa5 kernel /boot/loader
Error 17: Cannot mount selected partition
press any key for continue
Nogen der kender noget til det? skal jeg måske bruge noget af det her?
rootverify (hd0,3) chainloader +1
Flere eksempler : title PClinuxos rootnoverify (hd0,3) chainloader +1
yup virker perfect takker
*** Husk at : hd0,0 = hda1 hd0,1 = hda2 hd1,0 = hdb1 hd1,1 = hdb2 hd1,2 = hdb3 | Tilbage til toppen | |
allanadmin | ons nov 28 2007, 09:54 | |
| allanadmin
Oprettet: tor feb 08 2007, 17:58 Indlæg: 1068
| Eksempel :
17 : Cannot mount selected partition This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
If you want to try reinstalling grub, boot from the live CD, log in as root, open a konsole window, and at the prompt, (#) type;
# grub GNU GRUB version 0.97 (640K lower / 3072K upper memory) <-- This is the output from grub after [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub> <-- The grub prompt. It won't be blue. Smiley
From the grub prompt type;
grub> find /boot/grub/stage2 (hd0,0) (hd0,4) (hd0,5) (hd0,9) (hd0,11) <-- You'll only have one, use it (hd1,0) (hd1,2) (hd1,4)
grub> root (hd0,5) <-- Use what showed up above for yours Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0) <-- That is a zero (hd0), not a letter 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)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done.
grub> quit Your done; grub is reinstalled.
Post your results, just like above. | Tilbage til toppen | |
allanadmin | ons nov 28 2007, 09:58 | |
| allanadmin
Oprettet: tor feb 08 2007, 17:58 Indlæg: 1068
| Eksempler :
Okay, so I've installed PCLinux2007 on one of my computers. It overwrote the MBR (which I expected) but overlooked my Ubuntu Installation. I've been going through the boot menu editor in the PCLinuxOS Control Center. The problem I'm having with that is that It won't update when I put in custom Kernel types. Instead it just closes the editor. So I ran Redo MBR which brought up the menu.lst from /boot/grub and I manually edited the file. Now when I try to boot to Ubuntu, however, I get a file not found error. This was the first time I've ever seen menu.lst so I probably messed something up when inputing data manually.
The first entry below is for PCLinux and it works fine, the second for Ubuntu and they are copied directly from menu.lst on the PCLinux installation /boot/grub directory.
------------------------------------------------------------------------------------------------------- title linux kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda5 acpi=on resume=/dev/hda6 splash=silent vga=788 initrd (hd0,4)/boot/initrd.img
title Ubuntu kernel (hd0,4)/boot/vmlinuz-2.6.17-12-generic BOOT_IMAGE=Ubuntu root=/dev/hda1 acpi=on initrd (hd0,4)/boot/initrd.img-2.6.17-12-generic ------------------------------------------------------------------------------------------------------- My suspicion is that for Ubuntu the kernel and initrd should take input of (hd0, 0) instead of (hd0, 4) merely because that is what the menu entry for /boot/grub/menu.lst of the Ubuntu installation says. It is listed below. Before installing PClinux, that was the entry in Grub that was working for Ubuntu. ------------------------------------------------------------------------------------------------------- title Ubuntu, kernel 2.6.17-12-generic root (hd0,0) kernel /boot/vmlinuz-2.6.17-12-generic root=/dev/hda1 ro quiet splash initrd /boot/initrd.img-2.6.17-12-generic quiet savedefault boot -------------------------------------------------------------------------------------------------------
Also, it may be important to not that when I set the kernel as /boot/vmlinuz and the initrd as /boot/initrd.img Ubuntu will boot but because it is using the wrong kernel some devices aren't recognized (sound card, ethernet port, etc.)
Can anybody tell me if I'm on the right track here or if I'm completely screwing up things I shouldn't touch?
Svar: title Ubuntu kernel (hd0,4)/boot/vmlinuz-2.6.17-12-generic BOOT_IMAGE=Ubuntu root=/dev/hda1 acpi=on initrd (hd0,4)/boot/initrd.img-2.6.17-12-generic
Scrap the above, in PCLOS /boot/grub/menu.lst, and replace it with;
title Ubuntu, kernel 2.6.17-12-generic root (hd0,0) kernel /boot/vmlinuz-2.6.17-12-generic root=/dev/hda1 ro quiet splash initrd /boot/initrd.img-2.6.17-12-generic
Done.
***
Thanks, that was pretty simple. I guess I assumed there were stricter syntax guidelines to follow.
I do think it's worth noting, though, that I had to edit the entries manually for this, and the boot configuration editor seems a little buggy. Hope that gets addressed in the next version
| Tilbage til toppen | |
Powered by e107 Forum System
|
|
|
|