Mer/Documentation/Making x86 Mer Bootable

(Making a x86 Mer bootable)
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
+
mkdir -p /mnt/mer
-
* mkfs.ext3 /dev/sda1
+
mkfs.ext3 /dev/sda1
-
* mount -t ext3 /dev/sda1 /mnt/mer
+
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 OR Use imager from above and sh imager targets/mer-x86-generic-only-fs /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
+
grub-install --no-floppy --recheck --root-directory=/mnt/mer /dev/sda
-
* chroot /mnt/mer update-grub
+
chroot /mnt/mer update-grub
-
* verify your /mnt/mer/boot/grub/menu.lst looks correct
+
* 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|x86 Mer Bootable (How to)]]
+
 
 +
 
 +
[[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.gz and put in /mnt/mer, tar pzvxf it from within /mnt/mer or use the imager from above and sh 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.lst looks correct
  • umount /mnt/mer (if you can)