You are not logged in.

#1 2006-12-08 04:55:43

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Grub Error 17 [Solved]

Hi!

This is my first attempt on arch and all goes well until i reach the bootloader step. I can't seem to install either grub or lilo. In grub I get

Error 17 : Cannot mount selected partition

while in lilo I get

Fatal open: /boot/initrd26.img: No such file or directory.

I'm trying to dual boot windows and arch(windows 98 being already installed on a separate partition). As far as I know, everything in the configs are right.

Any ideas?

Thanks in advance!


Thanks in advance!

Offline

#2 2006-12-08 05:46:13

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Grub Error 17 [Solved]

The correct entry for Lilo is ....kernel26.img...  not initrd26.img...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2006-12-08 07:34:53

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Grub Error 17 [Solved]

Ah, I replaced all instances of initrd26.img with kernel26.img and lilo managed to install successfully. Thx.

I wonder why the default given does not correspond to the actual image...

However, doing the same thing to grub config still gives the same error. Any ideas?

My grub config;

title Arch
root (hd0,1)
kernel /vmlinuz26 root=/dev/hda2 ro vga=791
initrd /initrd26.img

Thx in advance!


Thanks in advance!

Offline

#4 2006-12-08 08:37:24

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Grub Error 17 [Solved]

In the grub config, you still have initrd26.img.

And the change occurred because of the upgrade from mkinitrd to mkinitcpio.  The installer was released before the change happened, and thus this happens quite a lot.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#5 2006-12-08 08:59:41

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Grub Error 17 [Solved]

It's actually a feature of the installer designed to scare off the less experienced Linux user to make sure Arch is only used by the creme de la creme of l33tz0rs. wink


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#6 2006-12-08 09:09:31

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Grub Error 17 [Solved]

FUBAR wrote:

It's actually a feature of the installer designed to scare off the less experienced Linux user to make sure Arch is only used by the creme de la creme of l33tz0rs. wink

Reminds me of the "rrdtool" man page...

#   BUGS
      Bugs ? Features !


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#7 2006-12-08 14:43:31

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Grub Error 17 [Solved]

title Arch
root (hd0,1)
kernel /vmlinuz26 root=/dev/hda2 ro vga=791
initrd /kernel26.img

that still gives the exact same error.. lilo's fine though


Thanks in advance!

Offline

#8 2006-12-08 15:59:00

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Grub Error 17 [Solved]

shouldn't it be ..
/boot/vmlinuz*
/boot/kernel26*
?


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#9 2006-12-09 04:32:02

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Grub Error 17 [Solved]

That's the default which doesn't work so I copied from one of the guides here.


Thanks in advance!

Offline

#10 2006-12-09 06:32:35

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Grub Error 17 [Solved]

islamguide.com wrote:

That's the default which doesn't work so I copied from one of the guides here.

The defaults assume you have a separate /boot partition (and thus you use /kernel26.img and /vmlinuz26).  However, going by how lilo was set up further up the thread, you don't have a separate /boot partition, and thus would need the full /boot/kernel26.img and /boot/vmlinuz27.  I think..


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#11 2006-12-12 10:12:33

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: Grub Error 17 [Solved]

Hmm.. thx for all your input. For some reason, trying the updated isos fixed the weird grub error 17 problem.


Thanks in advance!

Offline

#12 2007-01-02 15:14:26

scippio
Member
Registered: 2007-01-02
Posts: 74

Re: Grub Error 17 [Solved]

Hi, i install 0.8 voodoo and i have this problem too. my menu.lst in grub is good:

title jerry
root (hd0)
kernel /boot/vmlinuz26 i8042.panicblink=0 root=/dev/hda1 ro
initrd /boot/kernel26.img

normal fstab:

/dev/hda2 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 0 1

AND when i boot from grub console all is OK!
(is there error with atkbd.c, but i8042.panicblink=0 parametr solved this [ http://bbs.archlinux.org/viewtopic.php?p=216112#216112 ])
i wrote to console exactly this:

kernel /boot/vmlinuz26 i8042.panicblink=0 root=/dev/hda1 ro
initrd /boot/kernel26.img
boot

pls help  roll
(and sorry for my english)


Sorry for my English...

Offline

Board footer

Powered by FluxBB