Tag Info

Hot answers tagged

7

You're not going to be able to use GParted because the filesystem is on LVM and GParted does not support that. First, TAKE A BACKUP OF THE VM. Then perform the following as "root" from a command line. It looks like you've already rebooted but just in case, ensure the kernel recognizes the larger disk echo 1 > /sys/class/scsi_disk/0:0:0:0/device/rescan ...


6

Short answer: You can use the same swap partition as the data in swap is not preserved from one boot to the next. It is totally normal to have multiple linux installations on a disk with a single swap. There is one exception/caveat I know of, however: if you use hibernate (aka, 'suspend to disk'), hibernate uses your swap space for storage. If you then ...


4

It's perfectly safe to convert your unallocated space to a partition while your system is running. The only practical danger is in human error (i.e., yours) or a power loss while the partition table is being written. These just as likely to happen while booted normally as they are booted from a Live CD.


2

Since "when booted" means that the OS that needs to make changes and write to the disk, is also running from the same disk, has a higher potential for problems/disaster if something goes wrong. Following Murphy's Law, "Anything that can go wrong, will", you are safest to run the operation isolated from the operating system. My suggestion would be to use ...


2

The process appears to be: create a new partition in your newly available free space; your choice of filesystem doesn't much matter, as we will change it later reboot into the system use cfdisk to flag the new partition as Linux LVM instead of whatever you chose above use pvcreate to flag your new partition as a physical volume for LVM use vgextend to add ...


2

You might want to check out CrunchBang. Like Ubuntu, it is based on Debian, however, it uses the Openbox window manager and in turn is significantly lighter on resources. I can't tell you specifically how well it will work on an Inspiron 630m, but it is definitely a solid distro. The project lead, Philip Newborough, has done an incredible job of blending ...


2

From what I found, this laptop is powerful enough to run a lightweight GUI (like XFCE, Openbox etc...). You could start using Debian (which isn't much more complicated than Ubuntu) or Arch Linux (which is more difficult, but will be a good experience).


2

First, to avoid messing up, you should backup an entire image of the disk (provided you have a bigger disk to store it). For this, several solutions are proposed on this question, last time i did it, I used dd. Once you are sure you can restore the image in case of problem, you can use testdisk to redetect the partition table and fix it. This question for ...


2

do I need to have a swap partition for each distro or can LFS use the swap partition I already have? As goldilock says, unless you are hibernating (suspend to disk), yes. Otherwise no, because you could overwrite swap of a hibernated system - either it's saved state or the part that was used as regular swap at suspend time. If so, would the swap ...


2

You have copy & pasted a lot of unnecessary transcripts but your first paragraph pretty much says it all: When I run sudo gparted on a live ubuntu USB, I get Input/output error during read on /dev/sdc. So you have a defective disk. The error comes directly on /dev/sdc (not /dev/sdc1 or /dev/sda2, etc...) so it applies to the whole disk. Therefore ...


2

To have more space for your Linux installation you need to expand sda6. Having freed up 10GB by shrinking sda3 you would then expand sda4 by 10GB and expand sda6 to fill up all of sda4. However, resizing existing partions, especially NTFS ones, always bares the risk of loosing all data on that partition! I don't know anybody who ever experienced loss of ...


2

Easy. Go into your VM as root. Type "fdisk -l" - if you already see the new disk size - good. If not - try partprobe - if you still do not see the new disk size - reboot. Now fdisk /dev/sda Write down you starting cylinder for the second partition. "Delete" the second partiton Recreate the second partiton, same starting cylinder, last cylinder for end ...


1

The card does not have a Master Boot Record (MBR). If it had your hexdump would have given you at least one partition entry at offset 0x1C0 and 55aa at the end. Not all partition tables lay out data in the first 512 bytes. The spurious data you see is SID and CSD register of (a / the) SD card. But from the looks of it it is not the correct data for the card ...


1

I would try using the sfdisk command as opposed to dd. For example: $ sudo sfdisk -d /dev/sda > /tmp/mbr_using_sfdisk.bin Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. Now looking at mbr_using_sfdisk.bin reveals what you're looking for: $ more /tmp/mbr_using_sfdisk.bin # ...


1

Your question doesn't explicitly say what you want to do, but I guess you want to use that spare 11GB of space to expand /dev/sda6. You won't be able to do this while you are running Linux from the sda6 partition - the usual solution is to use a LiveCD, perhaps SystemRescueCD, to run GParted. The best way to do this is: Resize/Move your extended ...


1

I don't know if gparted can do this. Most partition programs would delete sda5-x when you delete/recreate the extended partition. You could try sfdisk. # sfdisk -d /dev/sda > sda.original That creates a dump of the partition layout like so: # partition table of /dev/sda unit: sectors /dev/sda1 : start= 2048, size= 4194304, Id= c /dev/sda2 : ...


1

There are several places you can have "free disk space". You can have disk space that is not in a partition (unpartitioned space). You can have an unused partition. You can have free space in a LVM physical volume. Generally, a LVM physical volume sits on top of a partition. You can have free space in a filesystem. A filesystem sits on top of a LVM ...


1

You can't enlarge it with GParted because it currently does not support HFS+ partition "grow". It only supports HFS+ "shrink". See Gparted features or, on your machine: GParted >> View >> File System Support


1

I've never found one. I use clonezilla as a rescue CD (and network-boot image), and that DOES have a 64-bit version. If you want 64-bit gparted live, you'll have to make your own, just replacing the kernel with a 64-bit kernel will be enough - it will be able to run the 32-bit userland on the gparted ISO. BTW, when you do manage to chroot into your system ...


1

You have to manually remove entries from /etc/fstab. Why do you care what the partition number is anyhow? It doesn't really matter, but if you really want to, you can use fdisk in sector mode ( use -u or the u command ) to list the current partitions, delete them, and recreate them with different numbers, but the same start and end sectors.


1

First of all, if you have moved the beginning of the partition, chances are rather high, that you can only wave the filesystem there goodbye. The reason is, that the beginning of a filesystem usually contains a very important data structures (usually called supeblock) without which the data in the filesystem is inaccessible. Maybe some utility exists that ...


1

It's not just that the partition table isn't correct: there is an error when trying to read it. So whatever is wrong isn't due to the aborted installation attempt. That could have left the data on the disk in an inconsistent state, but it wouldn't have made the disk unreadable. You have a hardware or driver failure. It's probably the disk, but it could be ...


1

Download the Gparted live CD ISO. Then attach the ISO to CentOS and boot from live cd (go to the virtual machine settings, select “CD/DVD” and select “Use ISO” from the right-side panel). Then select the partition you want to resize. Click on the partition menu (top menu bar) then click on “Resize”. Then select “Apply all operations” from “Edit” menu.



Only top voted, non community-wiki answers of a minimum length are eligible