You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Allocating entire hard drive to Linux Lite

Author (Read 26970 times)

0 Members and 1 Guest are viewing this topic.

Re: Allocating entire hard drive to Linux Lite
« Reply #18 on: November 20, 2021, 08:37:22 AM »
 

mathewalex

  • New to Forums
  • *
  • 9
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel® Core™ i7-10700 Processor (16M Cache, up to 4.80 GHz)

  • MEMORY: 32Gb

  • VIDEO CARD: ASUS GT710-SL-2GD5-BRK
Had the same problem, and solved it as below -

Step 1: Deleted the "unused" partition using GParted

Step 2: Clicked on the Linux partition to "grow" and selected Resize/Move. Now the next step (pop-up window) showed as follows -

                      Free space preceding (MiB) = 0 (default)
                      New size (MiB) = XXXXX         (This is the partition to increase the size of)
                      Free space following (MiB) = YYYYY (This is the "unused", now deleted, partition)
                      Align to = MiB (default)

Just make the value for "YYYYY" = 0 and apply the operation(s).

At the end of all operation(s) "XXXXX" becomes a single partition increased to "XXXXX+YYYYY" size.
 

Re: Allocating entire hard drive to Linux Lite
« Reply #17 on: February 12, 2015, 05:48:58 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi bobw,

Yes,
I'm sure it does,
but the issue I was seeing(or not seeing) when I checked for pauloz
was that the option was not present on the install screen.!!

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Allocating entire hard drive to Linux Lite
« Reply #16 on: February 12, 2015, 04:34:26 AM »
 

pauloz

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile

  • CPU: 2x Genuine Intel(R) CPU U7300 @ 1.30GHz

  • MEMORY: 4Gb
Thanks for all the replies - really appreciate your comments. Friends of mine just recently acquired an old Acer Aspire 3680 which had Vista on it, which I quickly disposed of when installing Lite and it is humming along beautifully. You're right bobw, the "replace existing installation" option does indeed format and use the entire drive, so really my problems are answered. I'm not prepared to risk messing around with partitions and I'm happy to do a fresh install of Lite on my ASUS EeePC. My contribution to the "suggestion box" would be to make sure the wording in the installation process makes mention of the fact the "replace existing installation" option will format and use the entire drive.

Cheers
Paul
 

Re: Allocating entire hard drive to Linux Lite
« Reply #15 on: February 12, 2015, 02:25:34 AM »
 

bobw

  • Occasional Poster
  • **
  • 85
    Posts
  • Reputation: 19
  • Linux Lite Member
    • View Profile
Hi Wirezfree,


Although it's a while since I used the "replace existing installation" option, I'm sure that it formatted and used the entire drive.
 

Re: Allocating entire hard drive to Linux Lite
« Reply #14 on: February 11, 2015, 05:30:56 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi bobw,


per pauloz's comment and my comment.
There is "no" option showing to use "Entire Disk"..!!!
I have verified this by booting my live USB stick
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Allocating entire hard drive to Linux Lite
« Reply #13 on: February 11, 2015, 03:38:23 PM »
 

bobw

  • Occasional Poster
  • **
  • 85
    Posts
  • Reputation: 19
  • Linux Lite Member
    • View Profile
Hi pauloz,


Just adding my contribution to try to clarify things for you.

If you do decide on a completely fresh install to replace the existing Lite 2.2 installation, the installer will allocate the full hard drive to LL apart from a small Linux swap partition which it will set up.  It would give you a tidier installation, with LL on sda1.  However, it shouldn't be necessary to do this if you prefer to keep your current installation.

Your present LL partition, being sda6, is a logical partition within an extended partition, as gold_finger said, since the file system will only support 4 primary partitions, one of which can be an extended partition.  An extended partition can contain many logical partitions.  I think your swap partition will also be a logical partition.

You will need to boot and work from the live CD or USB stick that you used to install LL initially, as you can't resize your LL partition when that system is running.  I think you will then find that your sda1, sda6 etc partitions will appear as sdb1, sdb6, etc when you look at them in gparted (listed as "Partition Drives" in LL System menu).

Working in gparted, you will need to:
- Ensure all the partitions are unmounted.
- Select the linux-swap partition, right click and select Swapoff.
- If your "unallocated partition" is shown as a grey block with the word "unallocated" in gparted, then it is unallocated space rather than a partition.  If, on the other hand, it is an unused partition, then you should delete it.
- Select the extended partition and use the Resize/Move option to extend it into the unallocated space.
- Select your LL partition and use the Resize/Move option to extend it into the resultant free space within the extended partition.

Having said all that, if I were you I would create a large separate data partition for all your files and reduce the size of your LL partition to about 10 or 15Gb.  The process is similar in principle to that described above, but if you needed more help I'm sure you'd only need to ask.

Good luck!
« Last Edit: February 11, 2015, 03:44:19 PM by bobw »
 

Re: Allocating entire hard drive to Linux Lite
« Reply #12 on: February 11, 2015, 05:35:43 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi pauloz,

Yes you are correct, I just booted my LL Live usb stick, and there is no "Use Entire Disk"
I re-checked the Help Manual, and that shows the option on the screen shot..!!!
Maybe that option only comes up if it is "new and/or empty" disk.?

gold_finger is far more skilled at this than me, so I would follow/see what he recommends.

Other than that,
You could just delete all the partitions whilst you are in gparted,
You will need to do a "swap off" on the "swap partition"
When they are all deleted,
Use the "Device" menu, and create "New" partition table.
Then do the install.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Allocating entire hard drive to Linux Lite
« Reply #11 on: February 11, 2015, 02:11:18 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
... however it's the next step that always stumps me. In the Resize/Move window, the following is displayed:

Free space preceding (MiB) = 0 (default)
New size (MiB) = 56253         (This is the partition I want to increase the size of, but it won't let me. It states this is the maximum size)
Free space following (MiB) = 0 (default)
Align to = MiB (default)

The rest of the space is showing as an unallocated partition 93.12 GiB, but it looks like I need to do something to this unallocated partition to allow me to increase my sda6 (Linux Lite) partition.

Haven't seen any screenshot or terminal output showing your partitions, so just making educated guesses here.

1.  If "rest of space" is an actual "partition" instead of being un-partitioned free space, then delete that partition before trying to expand the other into the space.

More likely what is happening ...

2.  I'm guessing that /dev/sda6 is a logical partition contained within an expanded partition (probably sda4).  If so, you need to first resize the boundary of the expanded partition into the free space; then you will be able to expand sda6.

P.s.  The expanded partition doesn't have to be called "sda4" -- that's just an example.  It could also be sda3, 2, or 1 depending on how partitioning was first done on drive.
« Last Edit: February 11, 2015, 10:20:54 AM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Allocating entire hard drive to Linux Lite
« Reply #10 on: February 10, 2015, 10:28:27 PM »
 

pauloz

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile

  • CPU: 2x Genuine Intel(R) CPU U7300 @ 1.30GHz

  • MEMORY: 4Gb
Hi Wirezfree

Thanks for your suggestion - I've already considered that but the options given to me were:

1. Installing alongside existing Lite 2.2 (obviously no point)
2. Replace existing Lite 2.2 (I considered this option but it gave me no guarantee I would have access to all of the hard drive)
3. Something else, which is resizing the partitions, which is where I'm at.

The other 2 options were to encrypt the new Linux installation for security and use LVM with the new Linux installation. Not sure what would have happened if I had checked these - I'm still in the beginner stage of my knowledge of Linux!
I have no issues wiping the floor again and trying a fresh reinstall, however I want to know beforehand I will have access to all of the hard drive.
Any further suggestions appreciated.

Paul
 

Re: Allocating entire hard drive to Linux Lite
« Reply #9 on: February 10, 2015, 09:13:14 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi pauloz,

If you have not done to much configuration, or installed many program.?
It maybe just easier to start from scratch, boot your LL Live media, and select "Use Entire Disk" during install.
You could spend more time trying to figure out what's going on with gparted than it will take you to re-install.

just my thoughts...
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Allocating entire hard drive to Linux Lite
« Reply #8 on: February 10, 2015, 08:57:53 PM »
 

ukbrian

  • Old Fool
  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 22
  • Linux Lite Member
    • View Profile
Can you do a "sudo blkid" in the terminal and post the result as code
 

Re: Allocating entire hard drive to Linux Lite
« Reply #7 on: February 10, 2015, 08:26:43 PM »
 

pauloz

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile

  • CPU: 2x Genuine Intel(R) CPU U7300 @ 1.30GHz

  • MEMORY: 4Gb
N4RPS

Thanks for your help, however it's the next step that always stumps me. In the Resize/Move window, the following is displayed:

Free space preceding (MiB) = 0 (default)
New size (MiB) = 56253         (This is the partition I want to increase the size of, but it won't let me. It states this is the maximum size)
Free space following (MiB) = 0 (default)
Align to = MiB (default)

The rest of the space is showing as an unallocated partition 93.12 GiB, but it looks like I need to do something to this unallocated partition to allow me to increase my sda6 (Linux Lite) partition.

Any help appreciated.

Paul
 

Re: Allocating entire hard drive to Linux Lite
« Reply #6 on: February 10, 2015, 11:05:55 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Pauloz,
Here's a link to a tutorial on the guidelines Jerry mentioned in reply#2.
https://www.linuxliteos.com/forums/index.php?topic=487.0

Post back if you have any other questions.

Scott
 

Re: Allocating entire hard drive to Linux Lite
« Reply #5 on: February 10, 2015, 09:00:06 AM »
 

ukbrian

  • Old Fool
  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 22
  • Linux Lite Member
    • View Profile
If the images are stored else where it reduces the storage required on the server and also lessens the bandwidth the server uses.

This post might help you https://www.linuxliteos.com/forums/index.php?topic=1604.0
 

Re: Allocating entire hard drive to Linux Lite
« Reply #4 on: February 10, 2015, 07:50:40 AM »
 

pauloz

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile

  • CPU: 2x Genuine Intel(R) CPU U7300 @ 1.30GHz

  • MEMORY: 4Gb
Jerry - Your request concerning guidelines for screenshots has confused me somewhat. I chose the option available to me at the time to attach a pdf file, which was the screenshot (converted from png to pdf) and was only 39.2 kB in size, well within the guidelines. Are you saying all attachments must be done the way you have indicated. If so, can you point me in the right direction please?
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section