LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Incognito (https://www.linuxquestions.org/questions/incognito-85/)
-   -   frugal install to hd before copying to usb stick (https://www.linuxquestions.org/questions/incognito-85/frugal-install-to-hd-before-copying-to-usb-stick-762371/)

vonbiber 10-16-2009 08:20 AM

frugal install to hd before copying to usb stick
 
I have tried to boot incognito from my hard drive by doing what I've done successfully with a number of other
live linux distros (slax, grml, RIPlinux, pmagic, ...).
I have a linux-formatted partition (/dev/sda6) with no
system installed. With most distros it's a matter of
copying the files from the iso to 1 or 2 directories,
and then creating entries in the grub menu.lst

With incognito I started like that:

1.
Code:

mount -o loop incognito-i686-2009.0-beta.iso /mnt/tmp
2.
Code:

mkdir /mnt/sda6/boot/incognito /mnt/sda6/incognito
cd /mnt/tmp
cp image.squashfs /mnt/sda6/incognito
cd /mnt/tmp/isolinux
cp gentoo gentoo.igz /mnt/sda6/boot/incognito

3.
Code:

mount /mnt/sda3
vi /mnt/sda3/boot/grub/menu.lst

I created 2 entries. The first one was:
Code:

title incognito
root (hd0,5)
kernel /boot/incognito/gentoo root=/dev/ram0 init=linuxrc looptype=squashfs loop=/incognito/image.squashfs vga=791 splash=silent,theme:incognito-2008.1 CONSOLE=/dev/tty1 acpi=on dopcmcia lang=en keymap=us nokeymap
initrd /boot/incognito/gentoo.igz

I was able to boot on incognito. But it couldn't find
the root filesystem.

So I rebooted on my regular system and I moved
/mnt/sda6/incognito/image.squashfs
to
/mnt/sda6/boot
and I edited the grub entry:

Code:

title incognito
root (hd0,5)
kernel /boot/incognito/gentoo root=/dev/ram0 init=linuxrc looptype=squashfs loop=image.squashfs vga=791 splash=silent,theme:incognito-2008.1 CONSOLE=/dev/tty1 acpi=on dopcmcia lang=en keymap=us nokeymap
initrd /boot/incognito/gentoo.igz

That didn't solve the issue.
I guess if I put it at the root that might work.
But I'd rather have it on its own subfolder.

I'll keep on trying
Has anybody tried something similar?

colorpurple21859 10-16-2009 04:09 PM

try adding ramdisk_size=100000 to the kernel line. had seen a similar post somewhere and one suggestion was to open up the squash.fs file and do some editing to the files in it


All times are GMT -5. The time now is 01:55 AM.