VectorLinux

Getting you started => How to's => Topic started by: francois.e on January 07, 2012, 06:41:25 pm

Title: HOWTO: Install vector linux 7 on usb key with grub 0.97
Post by: francois.e on January 07, 2012, 06:41:25 pm
Looking for some information on how to install live cd with grub 0.97 on usb, I got the inspiration from the following post:
http://forum.vectorlinux.com/index.php?topic=1522.0

I still just feel more at home with grub 0.97.

1) get the GRUB 0.97 package:
http://ftp://ftp.slackware.cz/slackware/slackware-current/extra/grub/grub-0.97-i486-2.tgz

2) install it:
installpkg grub-0.97-i486-2.tgz

3) format you usb key to ext2 with gparted:

4) download the iso file for vector linux live cd:
http://vectorlinux.osuosl.org/veclinux-7.0/iso-release/VL7.0-STD-GOLD-LIVE.iso

5) mount the iso image within cli or terminal:
root:# mkdir /mnt/iso
root:# mount -o loop -t iso9660 /root/Downloads/VL7.0-STD-GOLD-LIVE.iso /mnt/iso

5) get in the /mnt/iso folder and copy its content on the usb key (boot and VL7.0-STD-GOLD-LIVE folders). Here you can make use of mc (midnight commander to overcome root priviledges).

6) install grub from cli mode on your usb key, probably called /dev/sdb1. If you are not shure just consult gparted to know if it is the case:
root:# grubconfig

Choose the following options:
.simple
.standard
./dev/sdxy (according to the gparted name of your usb key, e.g. sdb1)
.MBR
./dev/sdb

7) make sure you have the following menu.lst from your usb key /media/the_usb_name/boot/grub/menu.lst entry to be able to boot from the usb key:

  title vector linux 7 with XFCE 4.8  (/dev/sdb1)
  kernel /boot/vmlinuz vga=788 splash=silent ramdisk_size=8666 root=/dev/ram0 rw
  initrd /boot/initrd.xz




Title: Re: HOWTO: Install vector linux 7 on usb key with grub 0.97
Post by: Daniel on January 07, 2012, 07:53:40 pm
Thank you! This will be useful! I will also note that it should be possible to add more entries to the menu.lst and have a multiboot usb stick.
Title: Re: HOWTO: Install vector linux 7 on usb key with grub 0.97
Post by: francois.e on January 07, 2012, 09:24:36 pm
In fact, other entries will also show up. But they are not all the time accurate. The window entry seems always good though.

One thing is missing a save changes folder. I would like to have that one too. I will try to figure it out, unless someone else has an idea.
Title: Re: HOWTO: Install vector linux 7 on usb key with grub 0.97
Post by: Daniel on January 08, 2012, 01:59:43 pm
To save (or use existing) changes, use the "changes=/path/to/changes/folder" option on the kernel line. (I guess that still works.)
Title: Re: HOWTO: Install vector linux 7 on usb key with grub 0.97
Post by: francois.e on January 12, 2012, 09:54:46 am
I am using ext2 as file system. I imagine that I rather be on fat32?