You are not logged in.

#1 2006-02-09 03:26:54

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 489

Possible to turn bootable CD into bootable USB flash drive?

I have an ISO I've created that's bootable. I have a flash drive that's bigger than the ISO.

Now what?

tongue

Thanks!

Offline

#2 2006-03-02 13:12:03

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

Up, I am interested too.

Offline

#3 2006-03-20 21:11:50

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: Possible to turn bootable CD into bootable USB flash drive?

Offline

#4 2006-03-21 19:48:42

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 489

Re: Possible to turn bootable CD into bootable USB flash drive?

Interesting, I wonder if it'll work with chainloader instead. This isn't as simple as I had hoped, but using lilo directly on the flash drive could be useful.

I have a non-linux CD that I'd like to turn into a bootable flash drive. I'll see if this'll work.

Offline

#5 2006-04-07 11:04:17

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

Hi

I have try this,

http://slax.linux-live.org/forum/viewtopic.php?t=9267

and it works, I can boot, but when i start the kernel I get an error

VFS cannot open root device "NULL" or unknow -block (9,0)
Please append correct "root=" boot option
VFS unable to mount root fs on unknow-block (9,0)

what can I do?

Offline

#6 2006-04-07 12:21:45

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

Do you boot with grub? What is your bootup configuration file (menu.lst for example) ?

Offline

#7 2006-04-07 12:23:48

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

No, I have used Lilo, I only have the syslinux.cfg file, can't find  lilo.conf

....
label arch
kernel vmlinuz
append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 root=/dev/ram0 BOOTMEDIA=cd

Offline

#8 2006-04-07 12:38:50

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

Well I don't know I have always used grub.

Maybe try to remove the BOOTMEDIA=cd

The idea is probably to find the right "append" line, but I can't help you, sorry.

Offline

#9 2006-04-07 14:20:40

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

Hm.. What must I do tu Install Grub on the USB Stick?

Offline

#10 2006-04-07 14:58:42

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

I think it is explained in the thread, but anyway lilo should be fine. Switching to grub won't change anything. The error is related to the root= option.

BTW: did you take the slack-iso Cd or an arch iso one ?

Offline

#11 2006-04-07 15:08:53

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

BTW: did you take the slack-iso Cd or an arch iso one ?

arch-base.iso

The error is related to the root= option. 

ok

Offline

#12 2006-04-07 15:28:26

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

I will try make one also. I hope I will have more chance than you smile

Offline

#13 2006-04-07 15:41:44

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

OK I try without

BOOTMEDIA=cd

, the same error

Offline

#14 2006-04-07 16:13:11

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

OK I have try with this iso
http://www.kotek.net/minimax/

the same error, only the

or unknow -block (9,0) 

is another.

This ISO use grub, where must the menu.lst be?

Offline

#15 2006-04-07 16:28:01

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

OK I have solved the first error


But i become the next error

RAMDISK image too big! (29611 KIB/16384 KIB)

How can I make the ramdisk bigger?

Offline

#16 2006-04-07 17:11:17

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

I managed to get it work: here is what I did:

format the usb as FAT16
copy the arch-base.iso to my usb stick
(as said in the link)

copy isolinux/boot.* to /
copy isolinux/isolinux.cfg to /syslinux.cfg (I changed the name!)

In case you want to start arch_noscsi:
rename vmlinuz_noscsi to linuxno (a DOS valid name)
change the according name  inside syslinux.cfg

set the MBR with lilo
syslinux -s /dev/sda1

Let me know if the install program runs well like that and we will make a wiki page big_smile

Offline

#17 2006-04-07 17:16:20

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

Hm, ok I try it..

Offline

#18 2006-04-07 17:44:43

*lynx
Member
From: Germany
Registered: 2006-04-06
Posts: 14

Re: Possible to turn bootable CD into bootable USB flash drive?

Yehaa it works big_smile  Big THX to marmotte, my mistake was, do not copy syslinux.cfg and boot.* in the root from the USB stick


OK Steps to make a bootabel USB Stick with Arch Installer

1. You need at least 512MB Flash Memory Stick

2. Make a FFAT16 filesystem (you need dosfstools)

mkdosfs /dev/sd[x]

3. Get the arch-base install ISO from www.archlinux.org

4. Mount the iso to an temporary directory

mkdir -p /mnt/archcd
mount -o loop /Path/to/iso /mnt/archcd

5. Mount the USB Stick

mkdir -p /mnt/usb/
mount /dev/sd[x] /mnt/usb/

6. Copy the .iso to the USB Stick

cp -ra /mnt/archcd/* /mnt/usb/

7. Copy The boot data

 cd /mnt/usb/isolinux/
cp vmlinuz /mnt/usb/
cp initrd.img /mnt/usb/
cp boot.* /mnt/usb/
cp isolinux.cfg /mnt/usb/syslinux.cfg [rename]

8. Install MBR

syslinux -s /dev/sd[x] 

Let me know if the install program runs well like that and we will make a wiki page Very Happy

yes no Problem

Offline

#19 2006-04-07 18:37:39

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: Possible to turn bootable CD into bootable USB flash drive?

Ok I put it on this wiki page:
http://wiki.archlinux.org/index.php/Ins … _USB_stick

Feel free to correct it, I won't be there this week end.

Offline

#20 2006-06-19 20:22:02

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

Re: Possible to turn bootable CD into bootable USB flash drive?

HI guys:

Is it possible to have some one post their syslinux.cfg, caurse I get a kernel Panic under booting from the disk

Have you got any idea of what I'm doing wrong??


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB