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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-29-2009, 07:37 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 10
Rep:
|
install fedora and xubuntu on the same laptop?different partitions?
Hello every body:
I am a totally new user to the linux. I have two projects to do one on fedora9 and the other on xubuntu. I installed xubuntu on my laptop beside the windows (each on a partition), then I needed fedora so I installed it over the windows. Now I can not find xubuntu. How I can check if it is still there and how can I reach it?
please I need help
|
|
|
11-29-2009, 07:46 AM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573
|
boot into fedora (you know 9 is old and unsupported I believe)
open a terminal and become root'
plus password
type in
thats a dash and little L
copy/paste the output into your next post
also, depending on what desktop your using
gnome?
open a file manager as root
then mount all partitions and find
the /boot/grub/menu.lst
or /boot/grub/grub.conf
in the fedora partition
aand post that here too
|
|
|
11-29-2009, 08:04 AM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 10
Original Poster
Rep:
|
Not works
I typed fdisk -l but it gave me command not found. also I tried to enter the /boot/grub/menu.lst but the Permission denied.
|
|
|
11-29-2009, 08:07 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
Quote:
Originally Posted by mominmyheart
I typed fdisk -l but it gave me command not found. also I tried to enter the /boot/grub/menu.lst but the Permission denied.
|
You need to do it as root. If it doesn't find fdisk try /sbin/fdisk -l
Same thing with menu.lst - you need to be root to open it.
ps. A fresh install of Fedora 12 might be a good thing. Fedora 9 is old and no longer supported, ie. you won't get any security updates.
Last edited by sycamorex; 11-29-2009 at 08:10 AM.
|
|
|
11-29-2009, 08:11 AM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 10
Original Poster
Rep:
|
using fedora 9 is not my choice , my teacher at college want fedora9./sbin/fdisk -l has worked but I still can't enter the /boot/grub/menu.lst or /boot/grub/grub.conf
the result as follows
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3825 30720000 83 Linux
/dev/sda2 5100 5342 1951897+ 82 Linux swap /Solaris
/dev/sda3 5343 9546 33768630 83 Linux
/dev/sda4 3826 5099 10233405 5 Extended
/dev/sda5 3826 5099 10233373+ 82 Linux swap / Solaris
Last edited by mominmyheart; 11-29-2009 at 08:22 AM.
|
|
|
11-29-2009, 08:17 AM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
How exactly are you trying to open the file?
Can you post the output of:
Quote:
ls -l /boot/grub/menu.lst
|
|
|
|
11-29-2009, 08:17 AM
|
#7
|
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573
|
try to open a filemanager as root
su filemanager-name
or if your already root
just do
filemanager-name
|
|
|
11-29-2009, 08:28 AM
|
#8
|
LQ Newbie
Registered: Nov 2009
Posts: 10
Original Poster
Rep:
|
the output of ls -l lboot/grub/menu.lst is rwxrwxrwx 1 root root 11 2009-11-29 01:13 /boot/grub/menu.lst ->./grub.conf
|
|
|
11-29-2009, 08:32 AM
|
#9
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
According to what you've posted, everyone has read/write permissions on the file.
Can you type vim /boot/grub/menu.lst ?
It will open the file in vim (editor).
1. type 'i'
2. Highlight the contents of the file and go to the terminal menu to copy it.
3. Paste it in your post.
|
|
|
11-29-2009, 08:35 AM
|
#10
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
One more thing:
What's the output of ls -l /boot/grub/grub.cfg ?
|
|
|
11-29-2009, 09:59 AM
|
#11
|
LQ Newbie
Registered: Nov 2009
Posts: 10
Original Poster
Rep:
|
This is the output of vim /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=b011d332-682b-4632-8025-a010b9d881d1 rhgb quiet
initrd /boot/initrd-2.6.25-14.fc9.i686.img
~
~
~
~
-- INSERT --
This is the output of ls -l /boot/grub/grub.cfg
-rw------- 1 root root 646 2009-11-29 01:13 /boot/grub/grub.conf
|
|
|
11-29-2009, 11:43 AM
|
#12
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
It looks like your xubuntu is on /dev/sda3. Is that correct?
If that's the case, please mount it somewhere
eg.
Code:
mkdir ~/temp
mount /dev/sda3 ~/temp
vim ~/temp/boot/grub/menu.lst
and copy the appropriate entry from xubuntu's /boot/grub/menu.lst to the one in fedora.
BTW, I don't think you need 2 swap partitions. One is usually enough. It can be shared by systems.
Alternatively, if you don't want to mess with those files you could download supergrub and burn it on a cd, boot the computer and it'll fix everything for you.
http://www.supergrubdisk.org/
|
|
|
All times are GMT -5. The time now is 09:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|