|
Linux Questions and information concerning Linux |
![]() |
| LinkBack | Thread Tools | Rate Thread |
| ||||
adding new Gentoo install to existing grub2? I've finally gotten around to building a Gentoo system. This is on my sidux box, where sidux is installed on the primary IDE master. Gentoo is on the slave. At this point I've accomplished the following, using the minimum install .iso: -partitioned a /boot (ext2), /home (ext4), /swap, and / (ext4) -installed the base system using the latest stage 3 archive -chroot into the new install -emerged portage and updated -compiled the kernel (I used the genkernel script, but edited the config file using makeconfig first) -did the appropriate networking and system configurations -installed grub to MBR Basically, I followed the install guide here, to the letter: Gentoo Linux Documentation -- About the Gentoo Linux Installation Now, I realize that I probably shouldn't have installed grub, since I'd really rather start Gentoo from the existing grub2 in sidux. I booted into sidux, and ran update-grub. It seems to recognize that there is a Gentoo install: Code: Found Gentoo Base System release 1.12.13 on /dev/sdb4 I need to get Gentoo added to the grub menu, but grub2 no longer has a menu.lst to edit. Seems that now all edits are to be made within the scripts in /etc/grub.d, specifically in a script named 40_custom. These scripts write to the /etc/boot/grub.cfg file, which creates the boot menu. I have attached grub.cfg. At the end of the file you can see what 40_custom has written to it. The bottom line is, the menu entry doesn't work. Grub gives a error that the location does not exist, and Gentoo does not boot. Because of that, I'm not sure if the Gentoo install was successful, and the boot entries are the problem, or if the install is borked somehow, and grub is actually OK. I guess I'm not sure what would be more straightforward: adding Gentoo to the sidux grub2; adding sidux to the Gentoo grub; or chainloading gentoo grub from sidux. There are probably many ways to get it done, but just when I thought I had mastered what I need to know on grub, both deb unstable and sidux moved to this grub2 mess. (I strongly suspect that the install is good, and I don't know what to do with grub2 :/ ) At this point I'm a bit stuck, so if Kaitain, Gizmo, or another Gentoo veteran can shed some light I'd be much obliged... ![]()
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() Last edited by ThunderRd; 13th August, 2010 at 07:11 PM. |
| ||||
When you update your Gentoo kernel in the future, you can chroot into your Sidux partition and use the tools found there in situ. This will save you the hassle of unmasking Gentoo's grub2 ebuild and trying to keep two lots of defaults and custom scripts aligned.
__________________ It is by coffee alone I set my mind in motion... |
| ||||
OK, gotcha. There was some confusion re: the partition nomenclature that had me confused, but I think I have a handle on it now. During the install the live media calls the drive /dev/hdb, but after the chroot and the reboot it is called /dev/sdb..which means I have to rewrite fstab & etc. This wasn't documented and it took me a while to figure out why the boot hung while mounting /. I'll take a look at making those corrections and getting grub going tomorrow. Thanks for cribbing the entry in 40_custom for me, I'm sure I'll have a question or two more so stay tuned ![]()
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() |
| ||||
![]() Or simply use Windows 7. It's so much simpler and better ![]() ![]() |
| ||||
Thanks, bard, I'll try that. ![]()
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() |
| ||||
My Gentoo project is going quite well. Today I found some time to work on it some more, I recompiled the kernel using the ck-sources available in portage, and made some minor adjustments in there (had a framebuffer error that prevented the nvidia install, now fixed). I have been using the ck/BFS kernel since it arrived last year, and I have said here before that it is very, very quick as a desktop kernel. With a bit of advice from Kaitain I was able to get sidux booting through Gentoo's grub, which is a whole lot easier for me to manage than the vagaries of grub2. I also emerged X and Xfce4, and got the nvidia driver successfully installed. Frankly, it was the easiest time I have ever had with the nvidia driver on any distro I have tried. So I have a desktop and it's starting to look like I'll be exploring Gentoo for some time to come. I have a question for someone in the know. First, I've been working as root so far, so I created a new user, made it a member of group users, and created a user directory using useradd. Then I added a password. But, thunderrd can't seem to obtain root privileges with su. The password entry fails with Permission denied. I'm sure I've missed something here in the creation of the account, what is it?
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() Last edited by ThunderRd; 17th August, 2010 at 05:29 PM. |
| ||||
Come on guys me and TB have been waiting over an hour for an answer...! ( I view theses threads like a Sci-Fi soap opera....you know how that is!!!":O}
__________________ "Though all men live in ignorance before mystery, they need not live in darkness... Justice is foundation and Mercy ETERNAL." DKE "All that we do is touched by Ocean Yet we remain on the shore of what we know." Richard Wilbur [img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img] Subscribers! Ask Pitch about a Custom Sig Graphic |
| ||||
You just need to add the thunderrd account to the wheel group. That will then allow thunderrd to su to root. |
| ||||
Thanks, Giz. I figured it was something like that. I probably have to think of what other groups the normal user should be in. I guess cdr and audio, for sure...
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() Last edited by ThunderRd; 18th August, 2010 at 02:52 AM. |
| ||||
Building this Gentoo setup has been going well. I have been a bit tight with time but did manage to get the desktop, all audio and codec stuff I need, some utilities, and office apps all emerged today. Also, I spent some time with the nvidia/Xorg stuff and got Compiz-Fusion and Emerald going, so it's looking pretty snazzy, too. I am amazed at the quickness of a system that doesn't have anything in it except what I wanted. BIOS to working Compiz desktop in under 35 seconds, and it simply "feels" nimble; like a car with fairly good horsepower but oodles of torque. That's what makes a good car fun on the street. sidux is the fastest distro I've used to date by far - but it has a lot of stuff in the base install that isn't used. From what I see so far, Gentoo is even faster.
__________________ #1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64 #2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit] #3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo ![]() |
| ||||
A lot of Linux folks turn up their noses at Gentoo because it's a source distro, and think those of us who actually WANT to compile our own systems are nuts when we talk about how much faster it is. Yes, having to compile everything before you can use it is a bit of a pain, but it's worthwhile, IMO: a well-tuned system is just a thrill to use. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Rate This Thread | |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AOA Gentoo Install Guide | ccperf721p | OS, Software, Firmware, and BIOS | 20 | 23rd December, 2007 08:04 PM |
AOA Gentoo Install Guide | ccperf721p | AOA FAQ | 2 | 1st November, 2007 09:50 PM |
Your Existing Code? Throw it Away | marcofra2000 | GAMES! OH YEAH! | 7 | 23rd July, 2005 02:43 PM |
how do i cofigure sate hd with existing ide hd | wwjdcgh | General Hardware Discussion | 1 | 1st November, 2004 04:28 AM |
New 8RDA+ and existing XP PRO | Flymo | EPoX MotherBoards | 6 | 9th February, 2003 05:25 AM |