You are not logged in.
Hello all,
I tried since few days to get Slitaz installed on an lvm partition. Setup is following:
Hardware is EPiA-M with 512 MB RAM and 2 PCI IDE flash disks (1GB + 512 Mb)
/dev/hda1 => /boot
/dev/hda2 => swap
/dev/hda3 /dev/hdc1 => lvm vg0-Dom0
/boot/grub/menu.lst
title SliTaz cooking
map (hd0,0)/slitaz-preinit.iso (hd1)
map --hook
kernel (hd1)/bzImage lvmroot=vg0-Dom0
initrd (hd1)/rootfs.gz
Installation is going well (made a manually one as explained in docs, but on reboot I get a grub error " Error 60: File for drive emulation must be in one contiguous disk area"
If I try to replace the map (hd0,0) with map --mem I get error "filename must be absolute pathname or blocklist"
Did someone already get lvm to boot on Slitaz? How?
Thanks for your feedback
--
Daniel
Offline
Hello,
some more informations. In my previous message I told that I tried with cooking but it wasn't true. I tested cooking only *after* the original post. Result: cooking is even not able to detect my hard drives ! :-(
Doesn't matter, I downloaded rolling and gave it a try: my disks are recognized but as soon as I want to start my lvm partition (vgchange -a y to activate the existing one or lvcreate -l 95%VG vg0 -n Dom0 for a fresh reinstall) I receive the display that partition is [activated|created] and then hangs, Ctrl/c doesn't give me the hand. I have to reset the computer.
--
Daniel
Offline
Hi tootai,
Error 60: File for drive emulation must be in one contiguous disk area
Your iso file seems to be fragmented on your HD
replace[c] map (hd0,0)/slitaz-preinit.iso (hd1)[/c]
with[c] map --mem --heads=0 --sectors-per-track=0 (hd0,0)/slitaz-preinit.iso (hd1)[/c]
(see http://doc.slitaz.org/en:guides:frugal#iso-image-install )
Offline
Hi Ceel, thanks for your answer. Problem is that I installed Grub2 in replacement of grub4dos-linux. In this version map is not recognized as command. How to deal with grub2?
Regards
Offline
Hi tootai,
Create an entry in your /boot/grub/grub.cfg
[c]# Booting SliTaz preinit from ISO file
menuentry "SliTaz preinit Live ISO" {
loopback iso (hd0,1)/slitaz-preinit.iso
linux (iso)/boot/bzImage lvmroot=vg0-Dom0
initrd (iso)/boot/rootfs.gz
}[/c]
Don't forget that grub2 starts numbering partitions from 1 (and not 0 like grub) so the first partiton of the first disk will be (hd0,1) and not (hd0,0).
Not sure for instruction [c]lvmroot=vg0-Dom0[/c], I didn't know lvm partitions but after your first post I searched informations about it and I'm going to do some test in the weeks to come.
When I used grub2 my linux line is like this:
[c]linux (iso)/boot/bzImage root=/dev/null kmap=fr-latin1[/c]
Offline
Many thanks Ceel, that did the trick to boot, but lvm area is not mounted because lvm doesn't find the second disk. (can't find UUID if LVM already exist, Device /dev/hdc1 not found (or ignored by filtering) if I create a new area.
In my case, I have:
hda1 => /boot
hda2 => swap
hda3 => LVM first physical volume
hdc1 => LVM second physical volume
fdisk /dev/hdc shows the hdc1 partition marked as 8e which is LVM. If I do a normal boot (from USB stick without the lvm stuff from preinit iso) and load manually the LVM driver and display the pv group all is good. Something is wrong in lvm stuff.
Thanks for your support
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]