View previous topic :: View next topic |
Author |
Message |
Zylek n00b
Joined: 28 Nov 2008 Posts: 5
|
Posted: Tue Jan 12, 2010 1:39 am Post subject: Does this wiki howto on installing Gentoo from Ubuntu work? |
|
|
Does this wiki howto on installing Gentoo while logged into Ubuntu still work?
http://www.wikihow.com/Install-Gentoo-Linux-from-Ubuntu
Edit- Also, does this howto show how to install Gentoo that runs *inside* Ubuntu or runs independently from it (booting into it separately)?
Thanks! |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Tue Jan 12, 2010 1:56 am Post subject: |
|
|
Probably, but it seems it is intended as a replacement for the Gentoo installation docs, so I wouldn't recommend using it. The docs are changed once in a while, so use the Gentoo Handbook instead.
The handbook describes using the Gentoo LiveCD, but you can just as easily do the same things from inside Ubuntu. The LiveCD is just another linux system, after all. Just skip the parts about setting up grub (important, or you may disable your Ubuntu boot), and edit your Ubuntu grub configuration instead to add Gentoo to the boot menu. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
|
Back to top |
|
|
gruber n00b
Joined: 14 Jan 2010 Posts: 42 Location: /home/Southpark
|
Posted: Thu Jan 14, 2010 12:39 pm Post subject: |
|
|
Cuber wrote: | edit your Ubuntu grub configuration instead to add Gentoo to the boot menu. |
OMG guys! How?
I've been trying to do this 3 days now. I'm about to rig my rig and blow it off!
The HDD is splitted to 2 halves - 1/2 WinXP, (1/4 Ubuntu 9.10 (ext4), 1/4 Gentoo (custom kernel, JFS), small swap (82)) - the other half
I got WinXP on /dev/sda1 (installed first on the rig)
I got Ubuntu 9.10 (ext4, grub 0.9.17beta) on /dev/sda5
I got swap on /dev/sda6
I got Gentoo (JFS) on /dev/sda7 (/root & /boot)
I installed Ubuntu 9.10 from their GUI installer. OK!
I configured (well, not much of it, actually) the grub.conf. OK!
Cool, working Win & Koala. OK!
I installed some GUI frontend for grub. OK!
I installed Gentoo from minimal CD & stage3. I skipped the whole grub config & install stuff, since I was planning to modify the already installed grub. OK!
I tried to enter the recommended lines for my custom kernel in grub and boot. FAIL!
I could only get to crappy console, no framebuffer, even if it's specified. I added ro to the linux line, since the manual suggest to. I cannot do anything on the partition, because it says it's read-only (well, ro is exactly for that, right?). |
|
Back to top |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Thu Jan 14, 2010 1:13 pm Post subject: |
|
|
Ubuntu 9.20 Karmic Koala uses a newer (and at the moment still experimental) version of GRUB!
Configuration and handling (and also the interfaces AFAIK) have changed in this version. GRUB configuration in the Gentoo handbook adresses Grub version 1.x (I assume, did not check). Karmic Koala uses a GRUB version 2 preview!
Im afraid you will have to look for other configuration samples (maybe at Ubuntu documentations, there are quite plenty) on how to inject the boot lines for another distribution into the GRUB 2 bootloader.
GRUB always was "a little different", but with version 2 they totally went nuts IMHO.
Edit:
to make it writable, use
Code: | mount -o remount,rw /boot |
_________________ Video Encoding scripts collection | Project page |
|
Back to top |
|
|
gruber n00b
Joined: 14 Jan 2010 Posts: 42 Location: /home/Southpark
|
Posted: Sun Jan 17, 2010 8:43 pm Post subject: |
|
|
Hiya all!
I couldn't achieve success with JFS. It just wouldn't mount RW. Just RO.
Anyway, I went nuts, and I'm starting from scratch...
I want something more extreme, but for this - in another thread.
10x for the help anyway!
C U soon! |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Jan 17, 2010 10:15 pm Post subject: |
|
|
Strange, I have a box that's entirely JFS even /boot and it works perfectly just like this: Code: | # cat /boot/grub/grub.conf
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo
root (hd0,0)
kernel /boot/bzImage root=/dev/sda1 |
EDIT: This is a grub 1 box.
Last edited by Mike Hunt on Wed Jan 20, 2010 8:42 pm; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Jan 17, 2010 10:18 pm Post subject: |
|
|
Mike Hunt,
But not with grub2 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jan 17, 2010 10:27 pm Post subject: |
|
|
gruber wrote: | I couldn't achieve success with JFS. It just wouldn't mount RW. Just RO. |
If you got that far, then you must have configured grub properly (or close enough).
I have not tried JFS, but I think it requires some special options in /etc/fstab to work (and mount RW). |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Jan 17, 2010 10:27 pm Post subject: |
|
|
NeddySeagoon,
Thanks. In fact, on one of my boxes with grub2 the config if quite different.
gruber,
Since your Ubuntu boots, can you copy/paste the same configuration block, and adjust it for the Gentoo partition?
Also there is nothing special in /etc/fstab Code: | /dev/sda3 / jfs noatime 0 1 |
Maybe the problem is something else. Can you post some error output please. |
|
Back to top |
|
|
gruber n00b
Joined: 14 Jan 2010 Posts: 42 Location: /home/Southpark
|
Posted: Wed Jan 20, 2010 7:52 pm Post subject: |
|
|
Mike Hunt wrote: | NeddySeagoon,
Thanks. In fact, on one of my boxes with grub2 the config if quite different.
gruber,
Since your Ubuntu boots, can you copy/paste the same configuration block, and adjust it for the Gentoo partition?
Also there is nothing special in /etc/fstab Code: | /dev/sda3 / jfs noatime 0 1 |
Maybe the problem is something else. Can you post some error output please. |
I could, but as I said, I started from scratch (decode: JFS is in my banlist ).
My adventurous spirit is now having trouble with the 'extreme' compile optimizations, but heck, half of the words in GCC's guide say 'WARNING!'
10x anyway! |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Jan 20, 2010 8:25 pm Post subject: |
|
|
Ah, yes I see. Then this topic is specially for you. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Thu Jan 21, 2010 10:43 am Post subject: |
|
|
Unfortunately the Grub2 in Ubuntu 9.10 is an intelligent installer, and roached
my boot process pretty much completely. (Cunningly I had saved images of
the first 128K of the boot drives, so I could revert to the original setup. Ha!
Fooled you, Grub2!)
It's not really Grubs fault, since it probably works well on the standard Windows
and Linux single drive setup, but I have multiple drives and OSes and it just
couldn't cope. The real problem is that it's very difficult to work out how Grub2
is configured, since the documentation is either non-existent or irrelevant.
I really can't image why Ubuntu let it be deployed it in that state. (And Ubuntu's
package system tries to upgrade Grub from time to time - you have to be careful
to catch it and supress it.)
When I first installed Ubuntu I already had the system booting from Grub 0.97,
so I just copied Ubuntu's boot parameters, partition and kernel, into the current
grub.conf. Whether this would work the other way around, with Grub2, I don't
know and don't propose to find out. Certainly I've installed Gentoo from an
older (8.10) Ubuntu LiveCD without problems, and also re-installed Gentoo from
the current 9.10 on my hard drive (without touching the Grub 0.97 boot partition).
There's nothing incompatible between Grub 0.97 and Ubuntu 9.10 and Gentoo.
Will |
|
Back to top |
|
|
gruber n00b
Joined: 14 Jan 2010 Posts: 42 Location: /home/Southpark
|
Posted: Thu Jan 21, 2010 1:04 pm Post subject: |
|
|
Mike Hunt wrote: | Ah, yes I see. Then this topic is specially for you. |
OMG dude! I laughed my **s out! Ghee! I didn't even suspect the existing of such a nickname for a Gentoo works-faster-than-everything-wannabe! 'Ricer'! Well, my experiments are purely for ego pumping purposes... So far, I wasn't able to build something stable, in order to actually benchmark it!
Whoa, hell of an entertaining reading. Pretty useful, thuogh!
You really made my day!
Big up!
Last edited by gruber on Thu Jan 21, 2010 1:16 pm; edited 1 time in total |
|
Back to top |
|
|
gruber n00b
Joined: 14 Jan 2010 Posts: 42 Location: /home/Southpark
|
Posted: Thu Jan 21, 2010 1:12 pm Post subject: |
|
|
cwr wrote: | Unfortunately the Grub2 in Ubuntu 9.10 is an intelligent installer, and roached
my boot process pretty much completely. (Cunningly I had saved images of
the first 128K of the boot drives, so I could revert to the original setup. Ha!
Fooled you, Grub2!)
It's not really Grubs fault, since it probably works well on the standard Windows
and Linux single drive setup, but I have multiple drives and OSes and it just
couldn't cope. The real problem is that it's very difficult to work out how Grub2
is configured, since the documentation is either non-existent or irrelevant.
I really can't image why Ubuntu let it be deployed it in that state. (And Ubuntu's
package system tries to upgrade Grub from time to time - you have to be careful
to catch it and supress it.)
When I first installed Ubuntu I already had the system booting from Grub 0.97,
so I just copied Ubuntu's boot parameters, partition and kernel, into the current
grub.conf. Whether this would work the other way around, with Grub2, I don't
know and don't propose to find out. Certainly I've installed Gentoo from an
older (8.10) Ubuntu LiveCD without problems, and also re-installed Gentoo from
the current 9.10 on my hard drive (without touching the Grub 0.97 boot partition).
There's nothing incompatible between Grub 0.97 and Ubuntu 9.10 and Gentoo.
Will |
This gives me the idea, which should have emerged in my head a long time ago!
Install Ubuntu 8.10 (or previous), so it could config grub properly (the old grub I mean, not grub2).
From then, everything should have been OK...
I don't want to revert to old grub, though. Not with my current setup. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jan 21, 2010 3:02 pm Post subject: |
|
|
gruber wrote: | Mike Hunt wrote: | Ah, yes I see. Then this topic is specially for you. |
OMG dude! I laughed my **s out! Ghee! I didn't even suspect the existing of such a nickname for a Gentoo works-faster-than-everything-wannabe! 'Ricer'! Well, my experiments are purely for ego pumping purposes... So far, I wasn't able to build something stable, in order to actually benchmark it!
Whoa, hell of an entertaining reading. Pretty useful, thuogh!
You really made my day!
Big up! |
I thought you might like that.
Eventually you will discover that for best balanced fast/stable results, these work best:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}" |
|
Back to top |
|
|
|
|
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
|
|