I tried for the first time to install Slitaz to a USB-stick. It seems correct but the menu.lst-file is empty.
How must this file look alike in case booting should happen from this USB-Stick?

live usb - correct /boot/grub/menu.lst
(9 posts) (5 voices)-
Posted 12 years ago #
-
Did you use tazusb frugal or tazinst full install ?
tazusb boot menu: /boot/extlinux/extlinux.confPosted 12 years ago # -
Wow, respect: 4 minutes, great!
No, I tried to install it to /dev/sda1, it looks like a harddrive installation. There is no /boot/extlinux, just
/boot/grub
and in /boot the vmlinuz-2.6.37-slitaz kernel file.Did I do that wrong then?
(As I understand it I used tazinst - I mean I made it using Slitaz Panel and selected /dev/sda1 as the target to install to)
1. Formatting / partition: /dev/sda1 (ext3)
2. Installing SliTaz on: /dev/sda1
3. Configuring host name: slitaz
4. Configuring root and default user account: tux
5. Running grub-install on: /dev/sda
6. Installation complete. You can now restart (reboot)
from your SliTaz GNU/Linux system.
Copying log files (/var/log/tazinst.log)...
Unmounting target partition: /dev/sda1
Unmounting: /media/sourcePosted 12 years ago # -
This entry should work in /boot/grub/menu.lst if there are no sata drives in this computer:
title Slitaz-4.0
root (hd0,0)
kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sda1If there are sata drives in the same computer,bios will recognize them before usb flash drive. For example in my laptop with one sata drive my usb flash drive is /dev/sdb so
root (hd1,0) and root=/dev/sdb1
The best way to go is use blkid as root to get UUID of flash drive.title Slitaz-4.0
uuid <replace this with uuid>
kernel /boot/vmlinuz-2.6.37-slitaz root=UUID=<replace this with uuid>Posted 12 years ago # -
Nice tip, thanks! It is exactly like that: there is indeed a sata drive so I have to correct the menu.lst according to your advice.
Stay tuned - I will edit this contribution several times! ;-)Addition:
Yes, it works now. But I had manually to add a /boot/grub/device.map file like
(hd0) /dev/sda
(hd1) /dev/sdbThank you very much!
Posted 12 years ago # -
How its worked in my case: usb kingston data traveler 109 8GB formated NTFS file system
slitaz-4.0.iso file in root directory on usb drive
menu.lst looks like:title stilaz 4.0
map /slitaz-4.0.iso (0xff) || map --mem /slitaz-4.0.iso (0xff)
map --hook root (0xff)
chainloader (0xff)lets say if you copy slitaz-4.0.iso file to boot directory on usb drive:
title stilaz 4.0
map /boot/slitaz-4.0.iso (0xff) || map --mem /boot/slitaz-4.0.iso (0xff)
map --hook root (0xff)
chainloader (0xff)Valentin B.
Posted 12 years ago # -
Hello, I have some what the same problem. I have windows 7 and slitaz 4.0:
I need to get windows to show up on my linux grub.Any idea?
Posted 12 years ago # -
Please try searching the internet first, I've done a simple search on Google and numerous guides appeared.
If the solutions you find don't get the job done, please post your hard disk layout i.e. on what partitions you have Windows 7 and Slitaz 4, respectively, installed.
Posted 12 years ago # -
Ok, I have windows 7 on /dev/hda1
And tlitaz 4.0 on sda1.So I need to get windows on slitaz grub.
I just had to reinstall cause I did it wrong. But no worries mate.
When you some thing you need to put some time getting to know one
another....lolPosted 12 years ago #
Reply
You must log in to post.