Author Topic: Solved - Re: Very strange - no partition on hdd  (Read 665 times)

Offline TruckerJohn

  • Jr. Member
  • **
  • Posts: 43
Solved - Re: Very strange - no partition on hdd
« on: October 08, 2010, 04:09:15 AM »
I have installed PCLinuxOS onto a 60gb hdd and selected the option to use entire drive.  Now I want to create a separate /home partition but when I open Gparted it shows the hdd as unallocated, not even showing a swap partition.
How do I create a /home partition and then reinstall PCLinuxOS without loosing the data in /home?
Thanks
« Last Edit: October 08, 2010, 06:02:05 AM by TruckerJohn »

uncleV

  • Guest
Re: Very strange - no partition on hdd
« Reply #1 on: October 08, 2010, 04:20:07 AM »
Do you run Gparted from LiveCD?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Very strange - no partition on hdd
« Reply #2 on: October 08, 2010, 04:24:06 AM »
In a terminal, as ROOT, type in the following command, and then copy and paste the command and the fully output in your next post ......

fdisk -l          # that is minus lower case L


Can you view the partitions through PCC - Local Disks - Manage Disk Partition?

If so the needed corrections can be made through that and not GParted.

Offline TruckerJohn

  • Jr. Member
  • **
  • Posts: 43
Re: Very strange - no partition on hdd
« Reply #3 on: October 08, 2010, 04:48:44 AM »
Hi
Thanks for the quick replies.

I tried Gparted from a USB stick and Puppy Linux - shows unallocated.  So I tried from within PCLinuxOS still shows unallocated.


# fdisk -l

Disk /dev/sda: 61.5 GB, 61491756544 bytes
255 heads, 63 sectors/track, 7475 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d5c0e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        7222    58010683+  83  Linux
/dev/sda2            7223        7476     2040255   82  Linux swap / Solaris

In PCC it shows the main partition and the swap but I dont see an option to resize the main partition.
John

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: Very strange - no partition on hdd
« Reply #4 on: October 08, 2010, 05:05:16 AM »
Hi
Thanks for the quick replies.

I tried Gparted from a USB stick and Puppy Linux - shows unallocated.  So I tried from within PCLinuxOS still shows unallocated.


# fdisk -l

Disk /dev/sda: 61.5 GB, 61491756544 bytes
255 heads, 63 sectors/track, 7475 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d5c0e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        7222    58010683+  83  Linux
/dev/sda2            7223        7476     2040255   82  Linux swap / Solaris

In PCC it shows the main partition and the swap but I dont see an option to resize the main partition.
John

Did you try starting PCC from a live CD? (You can't resize a mounted partition and you can't unmount a partition that is in use.)

There is also something wrong with your current partitioning: fdisk reports that you have 7475 cylinders on the drive, but also that your swap ends on cylinder 7476, in other words, the last cylinder of swap falls outside the drive.... Removing your swap partition and recreating it before you resize your root partition would be a good idea.
« Last Edit: October 08, 2010, 05:11:23 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline TruckerJohn

  • Jr. Member
  • **
  • Posts: 43
Solved - Re: Very strange - no partition on hdd
« Reply #5 on: October 08, 2010, 05:13:09 AM »
Thanks again - I will reboot to the live cd and sort the partitions.
John

Used live CD and sorted partitions.  Still wondering why it showed as unallocated under GParted.
Thanks
John
« Last Edit: October 08, 2010, 06:01:04 AM by TruckerJohn »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Solved - Re: Very strange - no partition on hdd
« Reply #6 on: October 08, 2010, 06:28:00 AM »
Thanks again - I will reboot to the live cd and sort the partitions.
John

Used live CD and sorted partitions.  Still wondering why it showed as unallocated under GParted.
Thanks
John

If there is something in any way incorrect GParted does not want to know ..... hence the suggestion to try the built in partition manager of PCLOS, which is not as finnicky but may not be as good either .......    ???