https://wiki.archlinux.org/api.php?action=feedcontributions&user=Satta&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:26:33ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Talk:USB_flash_installation_medium&diff=27138Talk:USB flash installation medium2007-07-22T16:03:03Z<p>Satta: New page: I was not able to boot my Thinkpad X31 from USB stick without the lilo part first. I understood it like that: syslinux puts a bootloader at the beginning of the first partition, but nothin...</p>
<hr />
<div>I was not able to boot my Thinkpad X31 from USB stick without the lilo part first.<br />
I understood it like that: syslinux puts a bootloader at the beginning of the first partition, but nothing in the MBR, so when you try booting from the stick, the bootloader cannot be found.</div>Sattahttps://wiki.archlinux.org/index.php?title=USB_flash_installation_medium&diff=27085USB flash installation medium2007-07-20T09:48:38Z<p>Satta: added partitioning and MBR info</p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
{{stub}}<br />
<br />
== FTP base installation ==<br />
<br />
Use [http://www.kotek.net/minimax/ Minimax]<br />
<br />
== Adapting the arch-base.iso ==<br />
You need at least 512MB Flash Memory Stick<br />
<br />
1. Partition the USB stick.<br />
Create one partition with FAT16 type, make it bootable. Remember its name, such as /dev/sd[x]1.<br />
<br />
cfdisk /dev/sd[x]<br />
<br />
2. Make a FAT16 filesystem (you need dosfstools)<br />
<br />
mkdosfs /dev/sd[x]1<br />
<br />
3. Get the arch-base install ISO from www.archlinux.org<br />
<br />
4. Mount the iso to an temporary directory<br />
<br />
mkdir -p /mnt/archcd<br />
mount -o loop /Path/to/iso /mnt/archcd<br />
<br />
5. Mount the USB Stick<br />
<br />
mkdir -p /mnt/usb/<br />
mount /dev/sd[x]1 /mnt/usb/<br />
<br />
6. Copy the .iso to the USB Stick<br />
<br />
cp -ra /mnt/archcd/* /mnt/usb/<br />
<br />
<br />
7. Copy the boot data<br />
<br />
cd /mnt/usb/isolinux/<br />
cp vmlinuz /mnt/usb/<br />
cp initrd.img /mnt/usb/<br />
cp boot.* /mnt/usb/<br />
cp isolinux.cfg /mnt/usb/syslinux.cfg<br />
<br />
8. Install MBR and syslinux<br />
<br />
lilo -M /dev/sd[x] mbr<br />
syslinux -s /dev/sd[x]1<br />
<br />
Troubleshooting:<br />
<br />
If you happen to run into "Cluster sizes larger than 16K not supported" error when running syslinux - don't panic, that just means you need to install more recent version of syslinux.</div>Satta