Ubuntu :: No Swap After Resizing Partition

Apr 1, 2011

I didn't like the fact that Ubuntu allocated like 5gigs of swap with its automatic partitioning / install. So I decided to shrink it with gparted now it doesn't show up when I boot I have to select swap on in gparted to use it.

View 1 Replies


ADVERTISEMENT

Fedora :: Resizing (2GB) Swap Partition LVM?

Nov 20, 2009

I have a small disk and I want to resize to 2 gb the swap partition, how I can do?

[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

View 4 Replies View Related

General :: Resizing Swap Partition (RHEL 5.x)

Jun 8, 2011

The following is what parted print outputs:

(parted) print

Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[Code].....

I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?

View 2 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Ubuntu :: Delete Snow Leopard Partition - Format Swap Disk Partition To Something Else

Feb 23, 2011

I had a drive with a partition layout like so:

~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat

I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.

View 9 Replies View Related

Ubuntu :: Resizing A Logical Partition?

Feb 15, 2010

I want to give Mandriva 2010 a shot, and I want to resize my 500gb /home partition (logical) to make some room. It's an ext4 partition. Do you reckon I'll be safe resizing it from the Mandriva installer? or should I use an Ubuntu LiveCD first?

View 2 Replies View Related

Ubuntu :: Cannot Boot Into Win7 After Resizing Partition

Mar 11, 2010

Today I was messing around with my partitions, and I decided to shrink my main partition that had Windows on it, so that I would could have one big storage partition and then a Windows 7 one and a Ubuntu one. Well, it didn't really work so I decided just to wait for Lucid to come out and start with a fresh install. So I went into EASEUS Partition Manager and resized my main Windows 7 partition back to its normal size. It had to reboot and did its stuff, and then when I restarted my computer, grub was showing the grub rescue> thing. So I went into the Windows 7 recovery disk, and tried all the BootRec.exe options. None of those worked. So I decided to go to the extreme and just delete Ubuntu completely.

I deleted the entire partition with GParted and then resized the main partition all the way. Then I booted into a Ubuntu live usb and re-installed Ubuntu. I thought it would just reinstall Grub and I would be able to get to both Ubuntu and Windows 7. It did install Grub, but now I can only boot into Ubuntu. It's really weird, because I can boot into windows, it just says starting windows and does the loading thing. And then EASEUS Partition Manager comes and says that all resize operations were complete successfully(because I hadn't booted into windows since I resized stuff with it) and then the screen just stays black for a long time. I don't know what to do. If I wait long enough, my computer just reboots...

View 3 Replies View Related

Ubuntu Security :: LUKS On LVM And Resizing Partition

May 10, 2010

I have a LVM logical volume, that contains a LUKS encrypted volume, on which is an ext4 filesystem. I shrank the partition to the minimum size. Next step is to luksClose the device, and then to resize the LVM logical volume. I suspect that LUKS has overhead. So if the ext4 filesystem was resized from, say 1TB to 500G, I have the idea that resizing the LVM LV to 500G does not take LUKS overhead into account and this might corrupt data on the end of the FS. So, what's the smart move to take? How do I calculate the safe minimum LV size? Or should I just give the 500G disk a few gigabytes extra to be sure?

View 4 Replies View Related

Ubuntu :: Process Of Resizing Partition Safe?

Aug 4, 2010

Are there any bad effects of resizing a partition? (like loss of data).

View 6 Replies View Related

Red Hat :: Cannot Extend PV (LVM) After Resizing Partition

Dec 16, 2010

I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.

I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc

Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.

View 5 Replies View Related

Hardware :: Invalid Partition Table For Swap Partition That Moved With Gparted?

Feb 8, 2010

I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.

I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?

View 14 Replies View Related

Ubuntu :: Resizing Partition Without Formatting Hard Drive?

Jan 14, 2010

I made a new partition on my hard drive, and installed Windows XP on it. However, because of space shortage on the disc (didn't bring my external HDD's with me) I could not "afford" to make the partition bigger than about 7GB. Turns out that's not quite enough. So I thought I'd try to resize the partition. Booted from my Ubuntu LiveCD and entered the partition manager. I'm able to tell the program that I want to resize the Linux-partition (so it sets the now freed space as "unused", but when I chose to "resize/move" on the XP-partition I do not have any free space. Does this mean that I have to resize the Linux-partition (until now I didn't actually resize it, only set the job as "pending" hoping that I could select both to shrink the Linux-partition and extend the XP-partition in one session), or do I have to format the XP-partition and make a new one (larger this time), then reinstall XP?

/dev/sda1 is XP; /dev/sda2 is Linux Mint

View 4 Replies View Related

Ubuntu Installation :: Resizing Won't Work On Boot Partition

Jul 6, 2010

After running Lucid since it's release I decided to wipe out my Karmic partition yesterday in order to utilize that space better elsewhere. So I booted up with the Karmic LiveCD, using the option just to check out Ubuntu. Then I opened up Gparted, unswapped (unmounted) the swap partition, made sure nothing else was mounted, and proceeded to delete my Karmic partition which then provided me with about 40 GB of unused space.

Since I wanted to re-assign 10 of those GB to my primary Ubuntu software partition where I keep all of my personal data, I went ahead and resized that one to make it 10 GB larger. First I had to move the empty space over which took several hours, but that wasn't a problem. Resizing the partition wasn't a problem either. Then I wanted to re-assign the remaining 30 GB to my Ubuntu boot partition which contains strictly my Ubuntu system ... and that's where the problem is.

The remaining unused space on the hard disk is located directly next to my Ubuntu boot partition. No matter what I do while using Gparted via the LiveCD, it doesn't seem to be possible for me to enlarge that boot partition. Does anyone know how I can do this either via Gparted, the Disk Utility from Lucid, or even via the terminal?

View 7 Replies View Related

Ubuntu :: Resizing Partition On Dual Boot System

Nov 1, 2010

Ubuntu 10 is great. Love it. Am still running with dual boot as am a bit of a games addict. However want to give Ubuntu more room as will be my work area. Can I make the Linux partition bigger with the disk utility that comes with Ubuntu 10.10?Played around with Linux in the early '90's.Sure has changed.Easy installation, device recognition better than Win 7 and great working environment.

View 3 Replies View Related

Ubuntu Installation :: Resizing Partition On Compaq / HP Mini 700 EL

Dec 16, 2010

I'm trying to install Ubuntu on my Mini 700 EL and when I start it doesn't give me the option to install it alongside Windows. Wubi does not give me the option to install onto the system, only to reboot and install it completely. When I try to install from booting from the USB key, I decide to edit partitions manually and I don't get the option of resizing the Windows partition, I can only delete it.

View 2 Replies View Related

Ubuntu Installation :: Partition Resizing For Installing 11.4 On Laptop?

Jul 28, 2011

I'm installing 11.04 on a friend's laptop. I'm fairly familiar with Ubuntu, and I'm sure when I've install it previously it didn't take this long to resize the partition. It's been going for around 15 minutes. The loading cursor is still spinning, and the HDD activity light is on almost solidly, but it's been a long time with no updates. The log says only "ubuntu ntfsresize: Please make a test run using both the -n and -s options before real resizing!". Nothing appears to be happening. Is this normal? Never mind, it failed.

View 7 Replies View Related

General :: Resizing Partition Using Parted

Sep 14, 2010

I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .

View 2 Replies View Related

Debian Installation :: Wiped Windows Partition With Swap And LVM Partition

Jan 17, 2015

I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:

/dev/sda (Samsung Evo 840)

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm

[code]....

The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:

mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi

After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.

When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal

Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.

I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.

View 5 Replies View Related

General :: Place Swap Partition On LVM Or On Standard Fdisk Partition

Aug 4, 2011

I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?

View 4 Replies View Related

Ubuntu :: Recover My Ubuntu Partition After Resizing My Vista Partition?

Nov 7, 2009

I used to have a dual boot vista + ubuntu jaunty configuration. I installed ubuntu bootloader in the ubuntu partion not the MBR using advanced option during installation. Then i used Easy BCD to edit my Vista Boot Configuration and add an entry for Ubuntu.

Problem:
Everthing worked like a charm, until one day i decided to shrink my vista partition to get some free space using Microsoft Windows Disk Management Utility "diskmgmt.msc".

Now when i boot into linux i get grub prompt only.

When i do this (to find out my linux partition):

Then i booted with ubuntu live cd

Same thing : file not found

And i dont see my Ubuntu partition in My computer under Live DVD session.

Then i opened Gparted it doesn't show any ext2/ext3 partitions instead it shows my ubuntu partition as Upartitioned. Now is it that my ubuntu partition is dead, i can never recover it back.

View 7 Replies View Related

Ubuntu :: Unable To Access NTFS Partition After Resizing With GParted

May 8, 2010

I was trying to resize a NTFS partition using GParted and trying to enlarge it using some unallocated space (about 400 or 500 MB unallocated space) but something went wrong and now I am unable to access the NTFS partition. The unallocated space is still there.The error details are reported at the bottom of this mail, plus the content of fstab and mtab.Do you have any idea on what caused the error and how to recover the partition?

View 9 Replies View Related

Ubuntu Installation :: Resizing Partition Window Stays At 0 Percent

May 20, 2010

I am installing ubuntu on my Delete Inspiron laptop and after selecting "install them side by side" option the window saying "Resizing partition..." on it has come up and just says 0%. I am partitioning so that ububtu has 100GB, but should it be taking this long - it's been about 25 mins. Is this normal?

View 3 Replies View Related

Ubuntu :: Setup To Dual-boot With Windows - Resizing Partition?

Jul 26, 2010

When I installed Ubuntu I set it up to dual-boot with windows and didnt put much thought into the partition sizes, and now I want to make the ubuntu partition bigger. I shrunk the windows partition from gparted fine and then booted up off my ubuntu 10.04 disk to make the ubuntu partition bigger, but it won't let me do so from gparted. Attached is a picture of how my hard drive's currently set up.

View 8 Replies View Related

Ubuntu Installation :: Resizing Pre Installed Windows Partition (New NTFS)

Sep 2, 2010

I am not been able to re size the partition. Can anyone please help. I tried to re size and install ubuntu 10.04 on two machines but it did not work. Details are HP mini ( windows xp pre installed with new ntfs partition). Lenovo thinkpad ( windows vista pre installed).Is new windows partition is non - re sizable?

View 7 Replies View Related

Ubuntu Installation :: Win7 Partition Resizing To Free Up Space

Feb 26, 2011

Some months ago I decided to give a chance to this 'Linux thing'. However, being uncertain of the usefulness and friendliness of it all, I decided to keep my Windows 7 partition untouched and just make a 30 Gb partition to "try out" Linux. As it turns out, it's been some 2 months since I last booted Windows and was now wondering if there's a way to "steal" some space from that W7 partition and add it to my Ubuntu one without messing up files. Some kind of major defragmentation, leaving an empty part of the disk which I could "attach" to my Ubuntu partition. I am using Ubuntu 10.04 LTS version.

View 3 Replies View Related

Debian Configuration :: DNS And Resizing Encrypted Partition

Feb 27, 2016

I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:

Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....

[code]....

So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:

Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease  Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease  Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:

Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com

How can I access internet from GParted and resize encrypted partition?

View 8 Replies View Related

Fedora Hardware :: Resizing Root LVM Partition?

Dec 17, 2010

when i have installed fedora 14 from the live CD....i noticed fedora give 4.9 GB SWAP partion:mad and give the root another 4.9 GB.... every time i monitor the swap is free cuz my RAM is 3 GB.... I want resize my root and take the space from the SWAP and give the SWAP only 1 GB... im worried that i miss up with system.... any clean graphical interface recommend me...? or any clean way to resize..?

View 1 Replies View Related

Fedora :: Partition Resizing On F12 System For New Installs

Jan 15, 2010

I am new to linux and have installed fedora 12 on my system. The partition sizing which I had done is :

- 17 gb
home- 8 gb
mp -1gb
usr -2gb
Boot -200mb
swap - 4gb (I have 2 gb RAM)
all partitions of ext4 format.

I would like to know that whenever I am going to install any new software or packages then it will be installed in which folder or partition? I have only 170 mb space free in user and have not installed any thing yet. Do I need to resize it. If yes, then how can I do so?

View 3 Replies View Related

General :: Can't Boot After Resizing Partition With Gparted

Nov 11, 2010

First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved