Jump to content











Photo
- - - - -

kexec-loader config


  • Please log in to reply
14 replies to this topic

#1 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 07:13 AM

im trying to boot a usb stick that has linux on it with kexec-loader the main idea isn't booting linux from usb but to have a proof of concept that my motherboard will boot usb with some sort of tool

i couldn't get plop to work it kept hanging when loading the ohci drivers for the hosts.

i did a L scan and found the usb stick on /dev/sda1 it says vfat so i guess that its, theres nothing else connected for sda.

how can i boot to that device?

cheers
seesoe

#2 mr_

mr_

    Frequent Member

  • Members
  • 355 posts
  •  
    Germany

Posted 31 December 2008 - 03:37 PM

That's an complicated question.

Did you read the kexec documentation already?

i couldn't get plop to work it kept hanging when loading the ohci drivers for the hosts.

Please get in contact with the author, maybe he can fix it.

#3 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 06:32 PM

of course i have readme unfortunately i still don't get it.

i have indeed got in contact with him, we are working on a fix, I'm going to end up shipping the motherboard to him, but before i do i wanted to get this to work, and see if i can try some other solution's before sending it, but i can't get this configured.

#4 mr_

mr_

    Frequent Member

  • Members
  • 355 posts
  •  
    Germany

Posted 31 December 2008 - 06:48 PM

This is the kings class, very complicated.

What you are trying to do is theoretically possible but so far no one is using it to boot USB if BIOS is buggy (USB booting), well, maybe some is using that but we don't know a tutorial right now.

http://en.opensuse.org/Kexec

I suggest you to learn Linux first. After you know the basics you should try Linux USB booting with BIOS without bugs...

I also suggest to learn http://en.wikipedia....ux_From_Scratch

There are also some premade distro specific kicker disc's which help you to boot from an BIOS-bootable device to start the rest from USB, for example DSL can, see http://damnsmalllinu...x.php/Main_Page (even if them are not using kexec)

#5 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 07:05 PM

the ultimate goal is to boot nlite xp from usb, without usb hdd bios support, what plop is suppose to do..

stuff like dsl didn't work

#6 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 07:13 PM

http://www.boot-land...?...ost&p=53374

Booting Kanotix from USB stick reached



#7 solemnwarning

solemnwarning

    Member

  • Members
  • 73 posts
  •  
    United Kingdom

Posted 31 December 2008 - 10:00 PM

So have you got kexec-loader working now?

#8 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 10:02 PM

no, i can boot it but i don't know how to do the config file to boot from the usb stick

#9 solemnwarning

solemnwarning

    Member

  • Members
  • 73 posts
  •  
    United Kingdom

Posted 31 December 2008 - 10:07 PM

There's an example kexec-loader.conf on the floppy image, what are you having trouble with?

#10 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 31 December 2008 - 10:10 PM

how can i boot linux on this usb device /dev/sda1

#11 solemnwarning

solemnwarning

    Member

  • Members
  • 73 posts
  •  
    United Kingdom

Posted 31 December 2008 - 10:22 PM

You need to set the kernel path (and initrd if there is one), like the example config shows...

#12 mr_

mr_

    Frequent Member

  • Members
  • 355 posts
  •  
    Germany

Posted 01 January 2009 - 03:56 AM

the ultimate goal is to boot nlite xp from usb, without usb hdd bios support, what plop is suppose to do..

kexec will not help here. you can use kexec to boot linux, but support for windows is not inside kexec (developement status: "patches welcome").

#13 seesoe

seesoe

    Newbie

  • Members
  • 27 posts
  •  
    Lebanon

Posted 01 January 2009 - 03:59 AM

ya i wasn't planning on using kexec loader to boot xp anyways, like i stated before i just want to use it as a test to see if my hardware will boot usb with some sort of loader.

#14 mr_

mr_

    Frequent Member

  • Members
  • 355 posts
  •  
    Germany

Posted 01 January 2009 - 03:49 PM

ya i wasn't planning on using kexec loader to boot xp anyways, like i stated before i just want to use it as a test to see if my hardware will boot usb with some sort of loader.

kexec is not booting, it's starting another kernel after the boot time is over.

Also if you would use a Full XP (USBoot) and start it using a Fake Signature Method kicker disc (CD-ROM) then this isn't exactly booting from USB. It's booting from CD-ROM and starting from USB.

#15 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 05 February 2009 - 03:50 PM

New verison here:
http://www.boot-land...?showtopic=6989

jaclaz




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users