LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2003, 01:15 PM   #1
perrymans
Member
 
Registered: Apr 2002
Location: Va Beach
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
GRUB, Virtual Desktop, KDE in Red Hat 9


Three questions:

1) How can I switch from GNOME to KDE in Red Hat 9?
2) How do I edit GRUB to add Debian and Slackware (hda7 and hda8 respectively).
3) I am not ready for the larger-than-the-screen-desktop. How can I get the whole image on the screen at once instead of having to mouse over all of the time?

I am a newbie, so go easy, and please add detail.

Thanks. Sean.
 
Old 04-17-2003, 05:22 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
1) can you not just logout, then when you're back at the login screen choose 'session -> kde' and log back in. You can make kde default from here also if you are so inclined.

2) edit grub.conf. You will see the entry for redhat, just mimic it for your other distros, replacing the paths with the correct ones. I would need to know your partition scheme to do it for you but here is an example:
Code:
title Red Hat Linux (2.4.18-14)
       root (hd0,0)
       kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi
       initrd /initrd-2.4.18-14.img
title Debian
       root (hd0,0)
       kernel /deb_kernel ro root=/dev/hda7
title slackware
       root (hd0,0)
       kernel /slack_kernel ro root=/dev/hda8
This will only work if you move your kernels to redhats /boot partition, which is ok because you don't need 3 /boots's anyway right...

3) dunno, I think it has to do with X's virtual desktop but it may be a new redhat thing. Sorry.
 
Old 04-17-2003, 06:58 PM   #3
perrymans
Member
 
Registered: Apr 2002
Location: Va Beach
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks

Wow, thanks alot. You were right on with the grub. How did you know what to call the different kernels?

The virtual desktop goes away when I disconnect the monitor and just use the laptop screen. Tomorrow, I will try all the settings when I get back to work.

The session was there, I just didn't see it because of the virtual desktop. I am at home with the laptop now and I saw it as soon as it booted.

You da man!

One question though. Do I have to move the kernels to /boot? Or can I have the grub point to the different hda points?

If I do have to, how do I move a kernel? And everything still works?

Thanks again. Sean.
 
Old 04-17-2003, 07:11 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
If you mount the other partitions you can use things like:
/mnt/hdb1/boot/
Works for Lilo at least, but it might only need to look at these when you run lilo, I know you dont need to run grub after changes so you'd have to be sure the partitions are always mounted maybe

The virtual desktop could be due to incorrectly configured X.

Last edited by Proud; 04-17-2003 at 07:12 PM.
 
Old 04-17-2003, 08:06 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
How did you know what to call the different kernels?
I just made them up, they should be what the kernels are actually called. You will need to rename them so that all three aren't named vmlinuz or whatever, or grub will be confused. Doesn't matter what they are called as long as each has a different name.

Quote:
Do I have to move the kernels to /boot?
No, you don't, but It is a lot easier. And I should say just copy them, so you have backups.

You can specify which drive and partition they are on using "root (hd0,0)". Grub counts from zero so (hd0,0) is actually hda1 (where your /boot is, right?), and (hd2,5) would be hdc4 ( I think...ha ha). You also need to keep in mind that some bios's need the kernel to be located in the first 500MB of your hard drive. In my opinion it is neater and easier to have all your kernels in the same place.

Again, safer to copy them than move them as I first mentioned.

You will need to mount /dev/hda7 and /dev/hda8 to access the kernels (assuming you have redhat booted at the time), cd to where each kernel is, then simply:
Code:
 cp vmlinuz  /boot/deb_kernel
Remember that vmlinuz may not be the actual name of your kernel, and you can change deb_kernel to whatever you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install Red Hat 9 on Microsoft Virtual PC manue Red Hat 8 04-06-2010 10:57 AM
Different icons for each KDE virtual desktop? TexasDex Linux - Software 1 06-14-2009 04:52 PM
Virtual Desktop in KDE Method1 Mandriva 3 12-10-2004 10:17 AM
about KDE virtual desktop 286 Linux - Newbie 2 01-04-2004 04:24 PM
KDE on Red Hat 8.0 nsplugin.desktop darkknight_9 Linux - General 4 12-20-2002 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration