Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Gentoo on a Windows only machine, no floppy, cdrom!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Mar 16, 2006 8:45 am    Post subject: Reply with quote

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! :D
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
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Mar 17, 2006 8:59 am    Post subject: Reply with quote

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! :D
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
View user's profile Send private message
hahaghost
n00b
n00b


Joined: 06 Dec 2004
Posts: 4
Location: China

PostPosted: Mon Mar 20, 2006 2:23 pm    Post subject: help me,hauser! Reply with quote

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 :oops:

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?
_________________
:roll: :?: :arrow: :!: ;) :p
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Mar 21, 2006 7:31 am    Post subject: Re: help me,hauser! Reply with quote

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 :oops:

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
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue May 09, 2006 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Mon Aug 21, 2006 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
plq
n00b
n00b


Joined: 18 Sep 2006
Posts: 19

PostPosted: Wed Jan 24, 2007 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 992
Location: Bangalore, India

PostPosted: Wed Mar 14, 2007 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Myelin
n00b
n00b


Joined: 10 Feb 2007
Posts: 10
Location: Pakistan

PostPosted: Mon Apr 30, 2007 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Myelin
n00b
n00b


Joined: 10 Feb 2007
Posts: 10
Location: Pakistan

PostPosted: Fri May 04, 2007 8:08 pm    Post subject: Reply with quote

I finally bought a CD-RW and installed Gentoo 2006.1 after unsuccessful search for Poor mans install for 2006.1. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum