LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2008, 07:35 PM   #1
zephyrcat
Member
 
Registered: Jun 2007
Posts: 107

Rep: Reputation: 15
Partitions can be seen in Mandriva but not in GParted/Ubuntu


Hi! I recently installed Mandriva on one partition. There is also a big Ubuntu partition, a data partition, and a smaller Freespire partition. I was just about to reinstall Ubuntu as I have been planning when I noticed that gparted and the Ubuntu partitioner (both the same, right?) showed no partitions on the hard drive. I can still see and access all the data from Mandriva. Anyone know what is up?
 
Old 01-22-2008, 07:41 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
As root, what do you get when you use:

fdisk -l

----------------------
Steve Stites
 
Old 01-22-2008, 07:47 PM   #3
zephyrcat
Member
 
Registered: Jun 2007
Posts: 107

Original Poster
Rep: Reputation: 15
Do you mean in the Ubuntu live cd or in Mandriva? In Mandriva I get this:

Code:
[root@localhost ~]# fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000d65a

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *       17411       19322    15358140   83  Linux
/dev/hda2               1       17410   139845793+   5  Extended
/dev/hda3             638       15275   117579735   83  Linux
/dev/hda4           19323       19457     1084387+  82  Linux swap / Solaris
/dev/hda5               1         637     5116639+   b  W95 FAT32
/dev/hda6           15276       17410    17149356   83  Linux

Partition table entries are not in disk order
 
Old 01-22-2008, 07:53 PM   #4
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
sudo gparted

I know that if you just say
Code:
gparted
it often will not show partitions. Instead try
Code:
sudo gparted
 
Old 01-22-2008, 09:40 PM   #5
zephyrcat
Member
 
Registered: Jun 2007
Posts: 107

Original Poster
Rep: Reputation: 15
Running from the gparted live cd should be running as root as should the Ubuntu installer, I think.
 
Old 01-22-2008, 11:17 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Got good backups ???. Looks dodgy to me.
Have a look at hda3 - this would normally be a primary. Slap in the extended, where a logical should be.
Probably confusing the hell out of code running the partition table.
 
Old 01-23-2008, 12:04 AM   #7
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
when you state "shows no partitions" do you mean, it dont show the primary partition at all...
the extended partition should show up too...
number wise in the extended partition should'nt make any difference...

but i am curious why you didnt use 3x primary partitions first...?

if your able to run fdisk, then why not use fdisk to set your install?
 
Old 01-23-2008, 06:26 AM   #8
zephyrcat
Member
 
Registered: Jun 2007
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wraithe View Post
when you state "shows no partitions" do you mean, it dont show the primary partition at all...
the extended partition should show up too...
number wise in the extended partition should'nt make any difference...
Nothing except the hard drive shows, it looks like there is no partition table at all.
[QUOTE=wraithe;3032135]
but i am curious why you didnt use 3x primary partitions first...?
[QUOTE=wraithe;3032135]
I change the distros on this computer a lot. Sometimes there will be only 1 distro, sometimes there will be many.
Quote:
Originally Posted by wraithe View Post
if your able to run fdisk, then why not use fdisk to set your install?
I can run fdisk from Mandriva where I can see the partition. I do not know what happens if I run it from the Ubuntu live cd. I will check as soon as I can.

Also, no I don't have any backups, but as I said I can see all my data from Mandriva, so I could always pull it off if this problem cannot be fixed.
 
  


Reply



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 i emerge 2 reiserfs partitions using gparted ? tclwp Slackware 2 08-11-2007 09:58 PM
resize non contiguous partitions in gparted mariogarcia Debian 2 04-20-2007 02:44 PM
gparted shows no partitions wussboy Ubuntu 5 02-19-2007 08:10 AM
gparted says no partitions JohnyDRipper Linux - General 4 02-12-2007 03:42 PM
I lost my Partitions using GParted! MorPhiend Linux - Newbie 1 11-23-2005 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 PM.

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
Open Source Consulting | Domain Registration