You are not logged in.

#1 2011-04-25 23:45:25

twallace51
New member
Registered: 2010-11-19
Posts: 7

Not so quick Funtoo install - version II

To those trying to install Funtoo,  I found that Funtoo-current is not unstable.
It is also much more attractive than the Funtoo-stable version,  including the latest versions of Xorg, KDE, Flash, etc.
The documents below detail how I turned a blank hard disk into my primary working system,  using Funtoo-current.
I am sharing it here in the hopes that others may find what I have learned and done,  to be of use in their installations.

http://dl.dropbox.com/u/21621193/myFunt … -Intro.txt
http://dl.dropbox.com/u/21621193/myFunt … indows.txt
http://dl.dropbox.com/u/21621193/myFunt … Rescue.txt
http://dl.dropbox.com/u/21621193/myFunt … 3-Grub.txt
http://dl.dropbox.com/u/21621193/myFunt … oSetup.txt
http://dl.dropbox.com/u/21621193/myFunt … Funtoo.txt
http://dl.dropbox.com/u/21621193/myFunt … nvidia.txt
http://dl.dropbox.com/u/21621193/myFunt … nvidia.txt
http://dl.dropbox.com/u/21621193/myFunt … /8-KDE.txt
http://dl.dropbox.com/u/21621193/myFunt … 9-Apps.txt
http://dl.dropbox.com/u/21621193/myFunt … inters.txt
http://dl.dropbox.com/u/21621193/myFunt … Update.txt
http://dl.dropbox.com/u/21621193/myFunt … losing.txt

Or download all of above,  compressed into one download with

http://dl.dropbox.com/u/21621193/myFunt … current.7z

I don't pretend that the steps above are the best or only way of installing Funtoo-current.
I do guarantee that it will be worth your effort.

Good Luck !
Tim Wallace - Cochabamba,  Bolivia 
twallace51@gmail.com

Offline

#2 2011-04-26 00:14:23

twallace51
New member
Registered: 2010-11-19
Posts: 7

Re: Not so quick Funtoo install - version II

Clarification:
The URL links in my previous message have had their titles shortened for some reason,  but still work.
To clarify the titles,  they are:
MyFuntoo-current/0-Intro.txt
MyFuntoo-current/1-Windows.txt
MyFuntoo-current/2-SystemRescue.txt
MyFuntoo-current/3-Grub.txt
MyFuntoo-current/4-FuntooSetup.txt
MyFuntoo-current/5-BootFuntoo.txt
MyFuntoo-current/6-Kernel-nvidia.txt
MyFuntoo-current/7-Xorg-nvidia.txt
MyFuntoo-current/8-KDE.txt
MyFuntoo-current/9-Apps.txt
MyFuntoo-current/10-Printers.txt
MyFuntoo-current/11-SystemUpdate.txt
MyFuntoo-current/12-Closing.txt
Good Luck - Tim

Offline

#3 2011-04-26 11:38:43

d2_racing
Staff
From: Québec (Canada)
Registered: 2010-10-05
Posts: 423
Website

Re: Not so quick Funtoo install - version II

About the url, post them inside the code braclet.

And with that, the code behind the forum will not handle the url tongue

Offline

#4 2011-04-30 16:49:21

tooxicbunny
Member
From: GB
Registered: 2011-02-02
Posts: 22
Website

Re: Not so quick Funtoo install - version II

Hi,
just by the way:

(...) Grub2 (currently in development: grub-1.98) provides a new feature to boot from an ISO image which is stored on the hard disk. If you put a copy of systemrescuecd-x86-x.y.z.iso on a partition that Grub2 can read then you can boot SystemRescueCd directly from the ISO image stored on your hard drive. This is very convenient if you frequently update SystemRescueCd and you want to boot it directly from Grub2.

Grub2 knows what an ISO image is and it will load the kernel image (rescuecd/rescue64) and the initramfs (initram.igz) from the ISO into memory. It will then do its normal job and execute the kernel. The SystemRescueCd init script must then be aware that its sysrcd.dat file is in an ISO and not directly on the partition. For that reason, this isoloop=xxx boot option is required so you must use it in your grub.cfg.

This option is only supported in SystemRescueCd-1.4.0 and more recent. This option specifies the path of the ISO image in the partition that grub considers as its root partition. It's important to understand that the path of the ISO image may be different from the path on your linux system. If you have a separate boot partition mounted on /boot and if you copy this ISO image to /boot/sysrcd/systemrescuecd-x86-x.y.z.iso then the option has to be isoloop=/sysrcd/systemrescuecd-x86-x.y.z.iso. This is because the boot partition is what Grub2 will consider as its root partition during the boot process.

Here is an example of a /boot/grub/grub.cfg configuration file:

set default=0
set timeout=5
set root=(hd0,1)

menuentry "Debian-Lenny-2.6.32-3-amd64 (vgraid)" {
        linux   /boot/vmlinuz-2.6.32-3-amd64 root=/dev/mapper/vgraid-lenny ro
        initrd  /boot/initrd.img-2.6.32-3-amd64
}

menuentry "SystemRescueCd (isoloop)" {
        loopback loop /systemrescuecd-x86-x.y.z.iso
        linux (loop)/isolinux/rescuecd isoloop=systemrescuecd-x86-x.y.z.iso
        initrd (loop)/isolinux/initram.igz
}

What happens when Grub2 boots is that:

    * Grub2 reads the partition that it considers as its root partition which is (hd0,1) in this example
    * Grub2 searches for a file called /systemrescuecd-x86-x.y.z.iso at the root of that partition
    * Grub2 loads both isolinux/rescuecd and isolinux/initram.igz<code> from the ISO image
    * Grub2 executes the kernel image (rescuecd)
    * The kernel boots, then it executes the <code>/init script from the initramfs
    * The /init boot script will see that the isoloop=systemrescuecd-x86-x.y.z.iso option has been used
    * This script tries to find systemrescuecd-x86-x.y.z.iso on any partition and device
    * This script mounts the ISO image and reads the root filesystem image (sysrcd.dat) and boots normally.

http://www.sysresccd.org/Sysresccd-manu … n_harddisk

but I have no idea (yet) how to do it with the boot-update,
regards

Last edited by tooxicbunny (2011-04-30 17:18:20)


Guidelines (READ BEFORE POSTING)  http://forums.gentoo.org/viewtopic-t-525.html
How To Ask Questions The Smart Way  http://www.catb.org/~esr/faqs/smart-questions.html
Gentoo Bug Reporting Guide  http://www.gentoo.org/doc/en/bugzilla-howto.xml

Offline

#5 2011-04-30 23:34:06

ulenrich
Member
Registered: 2010-10-07
Posts: 220

Re: Not so quick Funtoo install - version II

Is there a place for Funtoo boot-update to raw copy like Ubuntus "/etc/grub.d/40custom" ?

Another trick to don't mess around with different "/boot" directory structure, because boot is his own partition:

cd /boot && ln -s . boot

Offline

#6 2011-05-01 15:47:00

tooxicbunny
Member
From: GB
Registered: 2011-02-02
Posts: 22
Website

Re: Not so quick Funtoo install - version II

hi,
in my case: in order to avoid creating a separate partition for sysrescd, copied the image file (systemrescuecd-x86-2.1.0.iso ) to / boot, while in the file / boot / grub / grub.cfg made an entry in:

set timeout=3

menuentry "Funtoo Linux genkernel - kernel-genkernel-x86-2.6.38-gentoo-r3" {
  insmod part_msdos
  insmod ext2
  set root=(hd0,1)
  search --no-floppy --fs-uuid --set 7d62d472-f647-408e-95e4-71009962753d
  linux /kernel-genkernel-x86-2.6.38-gentoo-r3 real_root=/dev/sda2
  initrd /initramfs-genkernel-x86-2.6.38-gentoo-r3
  set gfxpayload=keep
}
#add
menuentry "SystemRescueCd (isoloop)" {
  insmod part_msdos
  insmod ext2
  loopback loop /systemrescuecd-x86-2.1.0.iso
  linux (loop)/isolinux/rescuecd isoloop=systemrescuecd-x86-2.1.0.iso
  initrd (loop)/isolinux/initram.igz
}

set default=0

my /etc/fstab:

/dev/sda1       /boot     ext2        noauto,noatime           1 2
/dev/sda2       /         ext4        noatime                  0 1
none            /dev/shm  tmpfs       nodev,nosuid,noexec      0 0

what so far I do not know how to configure the boot-update to generate the correct grub.cfg
regards

Last edited by tooxicbunny (2011-05-01 15:57:20)


Guidelines (READ BEFORE POSTING)  http://forums.gentoo.org/viewtopic-t-525.html
How To Ask Questions The Smart Way  http://www.catb.org/~esr/faqs/smart-questions.html
Gentoo Bug Reporting Guide  http://www.gentoo.org/doc/en/bugzilla-howto.xml

Offline

#7 2011-05-01 16:36:14

ulenrich
Member
Registered: 2010-10-07
Posts: 220

Re: Not so quick Funtoo install - version II

@tooxicbunny, I wonder without set root works? And wonder without "insmod loop" .
But there are some automagic built into grub2 ...

By the way, command "search" in effect only does a "set root". You don't need to double there.

Offline

Board footer

Powered by FluxBB