LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-29-2009, 08:37 AM   #1
mominmyheart
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Rep: Reputation: 0
Unhappy 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
 
Old 11-29-2009, 08:46 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
boot into fedora (you know 9 is old and unsupported I believe)
open a terminal and become root'
Code:
su
plus password

type in
Code:
fdisk -l
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
Code:
su nautilus
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
 
Old 11-29-2009, 09:04 AM   #3
mominmyheart
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 11-29-2009, 09:07 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by mominmyheart View Post
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 09:10 AM.
 
Old 11-29-2009, 09:11 AM   #5
mominmyheart
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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 09:22 AM.
 
Old 11-29-2009, 09:17 AM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
How exactly are you trying to open the file?
Can you post the output of:
Quote:
ls -l /boot/grub/menu.lst
 
Old 11-29-2009, 09:17 AM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
try to open a filemanager as root
su filemanager-name
or if your already root
just do
filemanager-name
 
Old 11-29-2009, 09:28 AM   #8
mominmyheart
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 11-29-2009, 09:32 AM   #9
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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.
 
Old 11-29-2009, 09:35 AM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
One more thing:
What's the output of ls -l /boot/grub/grub.cfg ?
 
Old 11-29-2009, 10:59 AM   #11
mominmyheart
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 11-29-2009, 12:43 PM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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/
 
  


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
Can't install Xubuntu on laptop? exad Ubuntu 8 05-26-2009 02:57 PM
Cannot successfully install Kubuntu, Xubuntu or Fedora... Intel i810 help needed! zifix Linux - Newbie 2 05-11-2009 01:45 PM
Xubuntu Blacking Out On New Install On Old Laptop Starius Linux - Newbie 6 11-28-2008 08:11 PM
Xubuntu alternate installer and partitions noranthon Ubuntu 7 11-25-2006 01:25 AM


All times are GMT -5. The time now is 01:19 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