View previous topic :: View next topic |
Author |
Message |
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Thu Mar 16, 2006 8:45 am Post subject: |
|
|
Hauser wrote: | The 2006.0 LiveCD comes out, it comes with Gnome-2.12, finally we have a Knoppix-equivalent liveCD, now we can install Gentoo in a graphical environment!
Grub entry for harddisk boot:
Code: | title=Gentoo-2006.0-livecd
root (hd0,4)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot=/dev/hda5 vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz |
The funny thing is you need that empty file 'livecd' for the init to treat /dev/hda5 to be a cd! |
What is this "empty file 'livecd'" you are talking about? _________________ Does God made man up, or was it the other way around? - Friedrich Nietzsche. |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Fri Mar 17, 2006 8:59 am Post subject: |
|
|
planetsheinker wrote: | Hauser wrote: | The 2006.0 LiveCD comes out, it comes with Gnome-2.12, finally we have a Knoppix-equivalent liveCD, now we can install Gentoo in a graphical environment!
Grub entry for harddisk boot:
Code: | title=Gentoo-2006.0-livecd
root (hd0,4)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot=/dev/hda5 vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz |
The funny thing is you need that empty file 'livecd' for the init to treat /dev/hda5 to be a cd! |
What is this "empty file 'livecd'" you are talking about? |
It's a file on the 2006.0 LiveCD. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
hahaghost n00b
Joined: 06 Dec 2004 Posts: 4 Location: China
|
Posted: Mon Mar 20, 2006 2:23 pm Post subject: help me,hauser! |
|
|
The size of the live-cd is too big for me.
If I want to use the minimal-install-cd(2006.0),What should I do? How to write the Grub entry for harddisk boot?
thx
I want to write like this:
Code: | title=Gentoo-2006.0-install-minimal
root (hd0,4)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot=/dev/hda5 vga=791 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz |
Should I?
Any idea? _________________ :p |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Tue Mar 21, 2006 7:31 am Post subject: Re: help me,hauser! |
|
|
hahaghost wrote: | The size of the live-cd is too big for me.
If I want to use the minimal-install-cd(2006.0),What should I do? How to write the Grub entry for harddisk boot? thx
I want to write like this:
... |
It looks correct, just give it a try. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Tue May 09, 2006 7:37 pm Post subject: |
|
|
Now you can boot the gentoo-based SystemRescueCD (at least 0.2.19) from harddisk. It's perhaps a better alternative to the official livecd, because it has all sorts of system tools and especially you can run qtparted with it, All you need to do is to create a directory called "sysrcd" on a partition (with vfat or linux native filesystems) and copy over 3 files on the CD:
Code: | # mount /dev/hda5 /mnt/gentoo #Suppose you use /dev/hda5
# mkdir /mnt/gentoo/sysrcd
# mount -o loop /path/to/systemrescuecd-x86-0.2.19.iso /mnt/cdrom
# cd /mnt/cdrom
# cp -v sysrcd.dat isolinux/vmlinuz1 isolinux/initrd1 /mnt/gentoo/sysrcd
|
Then write a grub entry like this:
Code: | title SystemRescueCD
kernel (hd0,4)/sysrcd/vmlinuz1 root=/dev/ram0 vga=791 bootfrom=/dev/sda5 init=/linuxrc setkmap=us
initrd (hd0,4)/sysrcd/initrd1 |
Then you're good to go! _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Mon Aug 21, 2006 12:21 pm Post subject: |
|
|
Grub for dos also works for ntfs partitions. Download the zip file here: http://sarovar.org/projects/grub4dos/. Extract it somewhere, then copy grldr and a sample boot\grub\menu.lst to the directory C:\. To run GRUB from Windows' bootloader, append the following line to your C:\boot.ini file:
Quote: | C:\grldr="Start GRUB" |
To edit this file,
1. Right-click My Computer, and then click Properties.
2. On the Advanced tab, click Settings under Startup and Recovery.
3. Under System Startup, click Edit. This opens the file in Notepad ready for editing. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
plq n00b
Joined: 18 Sep 2006 Posts: 19
|
Posted: Wed Jan 24, 2007 9:18 am Post subject: |
|
|
trying this setup with 2006.1, the initrd is not able to boot the vfat partition, /dev/hda2 in my case. dmesg says that cp437 is not found. 2006.0 boots fine.
it is the default charset for a vfat partition, i think somebody just forgot to put it in.
also, -correct me if i'm wrong here- following this procedure, i think one should not forget that the filesystem of the partition that houses the contents of the livecd can't be changed until reboot. i'd allocate a gigabyte for the temporary vfat and then use it as swap later. |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Wed Mar 14, 2007 9:39 am Post subject: |
|
|
Hi
I tried this method using the 2006.1 cd but it isn't working
It says that it can't find the cd
Wat should i do
Plz HLP
THNX |
|
Back to top |
|
|
Myelin n00b
Joined: 10 Feb 2007 Posts: 10 Location: Pakistan
|
Posted: Mon Apr 30, 2007 6:27 pm Post subject: |
|
|
This method is not working for 2006.1. Root block device is not found by the Boot.
Is there a way to start the installer by mounting manually into newroot from shell and then chroot into the newroot. Any way to extract and run the installer from image.squashfs from there?
Thanks for any help. |
|
Back to top |
|
|
Myelin n00b
Joined: 10 Feb 2007 Posts: 10 Location: Pakistan
|
Posted: Fri May 04, 2007 8:08 pm Post subject: |
|
|
I finally bought a CD-RW and installed Gentoo 2006.1 after unsuccessful search for Poor mans install for 2006.1. |
|
Back to top |
|
|
|