Mer/Documentation/Making x86 Mer Bootable: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>jukey No edit summary |
imported>generalantilles |
||
| Line 3: | Line 3: | ||
Partition your boot device, make a ext3 partition. In the following, sda1 is your ext3 partition and sda is your boot device. Only install this on a USB stick or whatever that you want to have possibly destroyed. | Partition your boot device, make a ext3 partition. In the following, sda1 is your ext3 partition and sda is your boot device. Only install this on a USB stick or whatever that you want to have possibly destroyed. | ||
mkdir -p /mnt/mer | |||
mkfs.ext3 /dev/sda1 | |||
mount -t ext3 /dev/sda1 /mnt/mer | |||
* Grab a release x86-generic tar.gz and put in /mnt/mer, tar pzvxf it from within /mnt/mer | * Grab a release <code>x86-generic tar.gz</code> and put in <code>/mnt/mer</code>, <code>tar pzvxf</code> it from within <code>/mnt/mer</code> ''or'' use the imager from above and <code>sh imager targets/mer-x86-generic-only-fs /mnt/mer</code>. | ||
grub-install --no-floppy --recheck --root-directory=/mnt/mer /dev/sda | |||
chroot /mnt/mer update-grub | |||
* | * Verify your <code>/mnt/mer/boot/grub/menu.lst</code> looks correct | ||
* umount /mnt/mer (if you can) | * <code>umount /mnt/mer</code> (if you can) | ||
[[Category:Mer | |||
[[Category:Mer]] | |||
Revision as of 09:23, 18 April 2009
Making a x86 Mer bootable
Partition your boot device, make a ext3 partition. In the following, sda1 is your ext3 partition and sda is your boot device. Only install this on a USB stick or whatever that you want to have possibly destroyed.
mkdir -p /mnt/mer mkfs.ext3 /dev/sda1 mount -t ext3 /dev/sda1 /mnt/mer
- Grab a release
x86-generic tar.gzand put in/mnt/mer,tar pzvxfit from within/mnt/meror use the imager from above andsh imager targets/mer-x86-generic-only-fs /mnt/mer.
grub-install --no-floppy --recheck --root-directory=/mnt/mer /dev/sda chroot /mnt/mer update-grub
- Verify your
/mnt/mer/boot/grub/menu.lstlooks correct umount /mnt/mer(if you can)