View previous topic :: View next topic |
Author |
Message |
Lamon99 n00b
Joined: 14 Mar 2016 Posts: 20
|
Posted: Sat Apr 09, 2016 11:38 am Post subject: how to boot gentoo using toram ? |
|
|
Hi everyone,
I am a gentoo newbie. I have just followed this site (https://www.mrwhitep.com/?p=825) to install gentoo liveCD.
The liveCD works perfect. My problem is how to run gentoo liveCD in RAM ?
I had like to have the liveCD run in RAM and eject itself.
This is my grub.cfg
# Global options
set timeout=90
set default=0
# Display settings
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
insmod videotest
insmod videoinfo
terminal_output gfxterm
fi
menuentry "myLinux zfs and efi (64bit)" {
set gfxpayload=keep
linux /isolinux/gentoo root=/dev/ram0 init=/linuxrc aufs looptype=squashfs loop=/image.squashfs cdroot vconsole.keymap=$bootkeymap locale=$bootlang $modeset_opt $nox $acpi_opt console=tty1 nomodeset
initrd /isolinux/gentoo.igz
}
and this is my isolinux.cfg .
UI vesamenu.c32
MENU TITLE KowiLinux - 64bit EDITION
MENU BACKGROUND back.png
MENU RESOLUTION 800 600
MENU WIDTH 77
MENU MARGIN 10
MENU ROWS 12
MENU HSHIFT 10
MENU VSHIFT 5
menu color title 1;36;44 #b5b3ff #00000000 std
menu color sel 7;37;40 #e0ffffff #311f39 all
menu color tabmsg 31;40 #90ffffff #311f39 std
menu color timeout 1;37;40 #ff0000 #00000000 std
menu color help 37;40 #c0ffffff #00000000 std
menu color msg07 37;40
default gentoo-x86_64
timeout 150
# ------------------------------------------------------------------------------
label kowilinux-x86_64
MENU LABEL myLinux x86_64
kernel /isolinux/gentoo
append root=/dev/ram0 init=/linuxrc aufs looptype=squashfs loop=/image.squashfs cdroot initrd=/isolinux/gentoo.igz nomodeset
Thanks |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Apr 09, 2016 7:34 pm Post subject: |
|
|
The correct option for Gentoo's liveCD is "docache". It won't eject itself, but it allows you to unmount it manually to do that. |
|
Back to top |
|
|
Lamon99 n00b
Joined: 14 Mar 2016 Posts: 20
|
Posted: Sat Apr 16, 2016 1:58 pm Post subject: |
|
|
Thanks for the respond . I managed to get docache boot into RAM but I still get the error "failed to load the loop cache, lack of RAM".
My computer has a 4GB RAM, is it possible that the RAM is not enough and what should the RAM be to boot the CD ?
Thanks in advanced |
|
Back to top |
|
|
|