Jump to content


cant boot fluxflux from usb stick


13 replies to this topic

#1 kirky_d

    Member

  • Members
  • 14 posts

Posted 01 June 2008 - 08:56 PM

Hi there. I'm having a bit of trouble installing the new fluxflux release onto a usb stick.

The main problem I am having is getting the bootinst.sh script to run. I somehow managed to get the file executable after mesing round with remounting and things, I ran it and it said all was fine. So I rebooted and pressed esc but the usb stick was not displayed.

I have not been able to make the files on the drive executable since then, and i don't know how i did it the first time.

can somebody help me?

#2 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 01 June 2008 - 09:45 PM

I try to help you. May be we can meet via ICQ and make the stick bootable step by step?! I will send you a personal message with my ICQ number.

fluxflux.

#3 kirky_d

    Member

  • Members
  • 14 posts

Posted 01 June 2008 - 09:48 PM

Thanks for the reply, but I don't use ICQ, I actually don't even know what it is.

Is there any other way you can help me?

Cheers

#4 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 01 June 2008 - 09:50 PM

Please post here what you have done to make the usb stick bootable and I can say you where the problem may be.

fluxflux.

#5 kirky_d

    Member

  • Members
  • 14 posts

Posted 01 June 2008 - 09:55 PM

I partition the device as fat32 using cfdisk, with the boot flag enabled. Then I extracted the files onto the device using the filemnager gui.

Then I messed about trying to make the bootinst.sh executable, which I somehow managed. but i don't know how i did.

I executed bootinst.sh and it appeared to have finished successfully.

I then rebooted and pressed esc but the usb stick was not listed.

#6 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 01 June 2008 - 09:59 PM

The bootinst.sh is executable, you do not need to make it executable. The filesystem must be mounted with the option "exec" so that the bootinst.sh can be run. You need also the mtools installed in your running linux system where you extract the tar.gz to the stick and try to run the bootinst.sh.
You can check the mount options in your running linux with the command "mount" in a konsole. If there is the option "noexec" the usb stick isn't mounted in the needed way.

fluxflux.

Edited by fluxflux, 01 June 2008 - 10:05 PM.


#7 kirky_d

    Member

  • Members
  • 14 posts

Posted 01 June 2008 - 10:12 PM

mtools is instaled.

The problem is definately the fact that on my system bootinst.sh is not executable.

I just mounted the device with the exec option and extracted the files again and the same thing happened. I couldn't even chmod it.

Do i need to extract the files from the command line?

cheers

#8 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 02 June 2008 - 05:27 AM

I extract the tar.gz with the command

cd /media/disk-1
tar xvf ${HOME}/fluxflux-eee...tar.gz
./bootinst.sh
/media/disk-1 is mounted with the option "exec" and everything works fine. I do this as root.

The command "mount" shows

/dev/sdb1 on /media/disk-1 type vfat (rw,nosuid,nodev,uhelper=hal,shortname=winnt,uid=502)
fluxflux.

#9 kirky_d

    Member

  • Members
  • 14 posts

Posted 02 June 2008 - 11:03 AM

I tried everything you said. Still no luck

This is the output from mount:
/dev/sdc1 on /media/D: type vfat (rw,nosuid,nodev,fmask=0111,dmask=0000,codepage=cp850,iocharset=utf8,shortname=mixed)
I just cant get it to execute.

Any ideas?

#10 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 02 June 2008 - 02:25 PM

Try

su -
rootpassword
umount /media/D
mkdir /mnt/usbstick
mount -t vfat -o rw,exec /dev/sdc1 /mnt/usbstick
cd /mnt/usbstick
./bootinst.sh
cd
umount /mnt/usbstick
fluxflux.

#11 kirky_d

    Member

  • Members
  • 14 posts

Posted 03 June 2008 - 12:11 PM

That appeared to have worked, I was able to run bootinst.sh it appeared to have finished successfully.

But the device wasn't visible in the boot device screen when i pressed esc at startup

Any ideas? This is really frustrating.

#12 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 03 June 2008 - 12:31 PM

There are some sticks which are not visible in BIOS, I have two USB sticks here, I cannot use these sticks for booting a live system.

You can try to reformat the stick with a windows partition program and format it with FAT32, may be this will help to make the stick visible. I had these problems some times with "cfdisk" especially when formatting FAT32. Reformatting with a windows software helped. Or with gparted LiveCD.

fluxflux.

#13 kirky_d

    Member

  • Members
  • 14 posts

Posted 03 June 2008 - 02:37 PM

cheers for the advice. Got it sorted now, needed to go into bios and change the boot order rather than pressing esc.

Nice distro, cheers

#14 fluxflux

    Senior Member

  • Members
  • 465 posts

Posted 03 June 2008 - 02:58 PM

Nice to hear that you were successful.

Thank you,

fluxflux.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users