You are not logged in.

#1 2006-06-20 17:18:04

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Kernel Panic booting from USB!!

Hi Guys!
I followed this guide about making a USB install key !
http://bbs.archlinux.org/viewtopic.php?t=18643
But after doing this I get an kernel Panic??
export: 25: /dev/sda1: bad variable name

How should this be???
heres my syslinux.cfg :

prompt 1
timeout 0
display boot.msg
default arch
label arch
kernel vmlinuz
append initrd=initrd.img /dev/sda1

How could I correct this, so that I'm able to boot and install from this USB key??

Thanks!


Just getting better .... All the time

Offline

#2 2006-06-20 17:31:49

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel Panic booting from USB!!

Can you try to boot usb drive using qemu ?


Mr Green

Offline

#3 2006-06-20 17:48:45

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Kernel Panic booting from USB!!

I dont know the program and how to use it..

But I can see the others in the topic is able to make it work...
I can just see that there's some problem about the syslinux.cfg and how its loading the kernel (or dont?? )
So If you can help me a little bit about qemu??


Just getting better .... All the time

Offline

#4 2006-06-20 18:33:46

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Kernel Panic booting from USB!!

ok .... load up qemu

do not run it as root

you should be able to boot usb drive just by using

qemu /dev/sda

not sure if your cfg is correct but ....

this way you can test usb drive without rebooting ;-)

HTH


Mr Green

Offline

#5 2006-06-20 19:27:01

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Kernel Panic booting from USB!!

The only thing I get out af that - is qemu could not open hard disk image /dev/sda

hmmmm


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB