1
vote
1answer
35 views

Understanding syslinux and partitioning

I am trying to learn and especially understand how partitionning and boot-loaders work. The problem is that I got it all twisted in my mind. In the end I don't understand anything anymore. I know ...
1
vote
0answers
32 views

Creating partition tables on USB ATA drives fails with fdisk and KDE partitionmanager

I have a couple old ATA (yes, not SATA) hard drive around with USB enclosures. One of them gave me some EXT4 journal error, so I am not sure whether they have a physical problem. Since they are just ...
0
votes
0answers
108 views

unable to format usb drive

I'm trying to read an usb drive that until a few day ago seemed to be perfectly working. Today windows started to be unable to access or modify its content. Trying to reformat it with linux (arch ...
-1
votes
2answers
97 views

Can not create new partition

I have Centos that have 508G free space i want to create new partition from it. it locates in extended partition I create new partition and format it as anything (ext4, fat32), after apply it can't ...
1
vote
0answers
81 views

Unable to boot into Mac OS after installing Fedora[Dual Boot]

I installed Fedora on my Mac and now when I boot, it says "booting in insecure mode" an then see a typical Linux "choose what to boot" screen. The List goes like: Fedora Fedora Recovery Mac OSX ...
2
votes
2answers
99 views

Partition offset at 63 or 64?

I did not wish to use the entire SSD for OpenBSD 5.5. (The SSD is new and pre-formatted with MSDOS using Gparted) During installation and at the fdisk stage, I chose Partition #: 0 to install OpenBSD ...
0
votes
2answers
45 views

change boot order

I have 2 partitions sda1 XP and sda2 CENTOS. I have reinstalled grub on /dev/sda but on rebooting, I experienced: error : 22 no such parition for Centos; while Windows boots charmingly on the other. ...
1
vote
0answers
114 views

How to find hidden partition of a USB in linux

I have a USB, which has a protected partition. I think this USB has hidden partitions, which I can't see them. $ fdisk -l /dev/sdb: You must set cylinders. You can do this from the extra functions ...
2
votes
1answer
66 views

why 2TB external HDD is recognized as 800 GB only in Ubuntu 8.10

I had a 2 TB external HDD which I formatted as below. fdisk /dev/sdb After issuing the above command, I did the following steps. Then selected option p. (To print the partition table). Then ...
4
votes
2answers
2k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
0
votes
1answer
635 views

Fdisk cannot read size of this disk is 4.0 TB under RAID-0 enviroment

I have server from OVH data center , I have Two SATA Hard Disk Drive , each Disk Size 2.0 T.B , I have RAID controller card but I convert the RAID-1 to RAID-0 through OVH Rescue mode and here is the ...
2
votes
1answer
612 views

Software RAID 10 + LVM on mixed drives, sector alignment?

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
1
vote
1answer
209 views

Can't create partition table on SSD with Slackware 14

I'm trying to install Slackware 14 from a DVD. It boots fine from the DVD. When I try to use fdisk or cfdisk to create the Linux and swap partitions on the SSD, it complains about a missing or ...
1
vote
1answer
46 views

Are partition tables always required? [duplicate]

So I have a home server with 4 hdds: hdd1: 60Gb (SSD - OS drive) hdd2: 4TB (data drive) hdd3: 2TB (data drive) hdd4: 1TB (data drive) So I intend installing ubuntu server onto hdd1 (ssd ...
0
votes
1answer
325 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...
5
votes
1answer
120 views

Partitions same size but different block [closed]

I tried to backup my partition using dd on another disk and I created a partition of the same size. When I finished the copy I had problems mounting the partition since I got bad geometry: block ...
2
votes
1answer
247 views

Linux big disk partition issue

I have a big disk around 4.8 TB (RAID) and it has following partition (created by fdisk) [root@server1 ~]# fdisk -l /dev/sde WARNING: The size of this disk is 4.8 TB (4796404727808 bytes). DOS ...
1
vote
1answer
186 views

Specify partition data in sfdisk and parted

With this line: (echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 7; echo w) | fdisk /dev/sda I can create a new active primary partition for NTFS, 24 Giga large. The syntax ...
1
vote
3answers
297 views

What's the difference between fdisk -l and df -h?

In my ubuntu system, I want to have a look about my system disk info. When I use fdisk -l without sudo, I get nothing. But with sudo fdisk -l, I only get a device /dev/sda1, but when I use df -h, I ...
4
votes
2answers
1k views

Programmatically partition disk

I am attempting to create a bash script which will create a new partition with a file system on a disk with existing partition(s). It looks like it's easy to create partitions programmatically with ...
0
votes
3answers
456 views

Align Partition Of HDD Using fdisk?

I first asked this question on SuperUser.com but got no responses. I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any ...
3
votes
1answer
4k views

Understanding partition table with sda1 sda2 sda5

I just inherited a system and I am trying to understand it's partition table for the hard drive. (I'm new to this) machine:~# fdisk -l /dev/sda Disk /dev/sda: 250.0 GB, 250000000000 bytes 255 heads, ...
1
vote
1answer
2k views

pvcreate error on partition

I can't create this partition, I'm getting this error shown below: Device /dev/mapper/vg_paperino-lv_rootp1 not found (or ignored by filtering) Below are the steps that I'm doing on CentOS: ...
1
vote
1answer
272 views

restore filesystem after fdisk

I split a partition in two with fdisk, but after rebooting I've got partition in FAT filesystem (was ext4). What's can be wrong? And how to fix it or get data from bad partition? I hope this is ...
1
vote
1answer
368 views

How to realign a disk on logical volume with minimum to zero down time

A system running un-align disk partition that needs to be aligned without loss of data on all the partition including mbr with the minimum to no down time.
2
votes
1answer
87 views

fdisk. What does the “free” partition mean?

I had two primary partitions (/dev/sda1 and /dev/sda2). Then I created an extended partition to segment it into logical partitions. After I had typed fdisk /dev/sda and n (add a new partition) the ...
2
votes
1answer
468 views

fdisk, dd, and the Rapsberry pi

I was trying to wipe my 4GB SD card which acts as the hard drive for the Raspberry Pi, so I went into Mac OS X Disk Utility* and Erased the entire disk, and specified that the whole disk be one big ...
3
votes
1answer
851 views

Remount lvm partitions after OS reinstallation

I recently upgraded to Linux Mint from Ubuntu. I have overwritten /dev/sda2 which had Ubuntu. I had earlier created two logical volumes opt and virtualization from /dev/sda1. I forgot to take the lvm ...
4
votes
2answers
651 views

How do I make use of unused space on my boot drive on FreeBSD

I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
2
votes
2answers
120 views

Can I safely resize my partition from its beginning?

Currently dual booting Windows 8 and Linux Mint 14, sooner or later I will give more space to my Linux system. Is resizing my Linux partition from the beginning a safe operation ? If yes, could you ...
1
vote
1answer
976 views

Growing my extended partition to the left

I have the following one hdd Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Disk identifier: 0xfa6bd800 Device Boot Start ...
3
votes
1answer
881 views

Create Logical Volume with non-LVM partition

I'm not sure if the title actually depicts my question, but I will try to explain. I have seen everywhere it is mentioned to create a partition of type LVM (8e) and then create logical volume with ...
2
votes
1answer
3k views

fdisk isn't showing my hard drive as properly formatted (but it is)

I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay: --- Physical volume --- PV Name /dev/sda1 VG Name vgpool PV Size ...
1
vote
2answers
1k views

How to resize logical volume to fit filesystem

How can I resize logical volume to fit filesystem automagically?
1
vote
1answer
127 views

What happens to data copied after undoing fdisk?

Suppose I have some drive with a single partition. For some reason I decide to repartition it, using fdisk. I create multiple partitions, then write the partition table, then exit fdisk. At this ...
1
vote
1answer
6k views

Partition table not recognized by Linux kernel

I experience relatively often that the partition table of a USB stick or SD card is suddenly no longer recognized by the kernel while (g)parted and fdisk still see it, as do other systems. I can even ...
6
votes
1answer
2k views

How to properly align partitions?

I'm trying to understand what are the rules for creating correctly aligned partitions. For the moment I'm playing with parted on a virtual machine, but I'm planning to move to a real hard disk when I ...
4
votes
2answers
6k views

What are the ramifications of not having a valid partition table?

I recently upgraded my Ubuntu from 11.10 (Oneiric) to 12.04 (Precise Pangolin) on a Dell Inspiron B130 Laptop. When I run fdisk -l it says that my HD doesn't contain a valid partition table. I have ...
2
votes
1answer
543 views

Do I need to format a CF before installing Linux?

I recently purchased an 8GB Patriot CF card, like this one . I also have a Syba CF/Sata adapter. I put these together into my mini-itx computer (connected via Sata cables, not USB) and booted an ...
1
vote
2answers
809 views

Fdisk partition alignment, NAND, not showing specified heads

I ran fdisk with these options, fdisk -H 32 -S 32 /dev/sdc Then I made a new label, and created an aligned first partition. Disk /dev/sdc: 7743 MB, 7743995904 bytes 32 heads, 32 sectors/track, ...
1
vote
1answer
753 views

Adding a populated existing disk device to a QEMU raw image

I have a raw QEMU image (vda.raw), and I would like to resize it and add an existing partition, using data I have in a file that contains a raw ext3 file system populated with data (vdb.raw). The two ...
5
votes
3answers
635 views

how to use “Unusable” sectors outside defined partition boundaries

What might be a convenient way to stash some hidden data in the "Unusable" area following the last partition, or anywhere outside defined partition boundaries? For example, making it appear as a ...
1
vote
0answers
1k views

WD MyBook 3TB - Gparted failed & HDD partitions recovery?

I have this new WD MyBook external HDD (USB 3.0/2.0); I created 3 partitions all of them ext3 type (~1 TB | ~1 TB | ~750 GB) I loaded lots of files all the partitions were like ~30% full on each, and ...
5
votes
6answers
10k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
7
votes
3answers
1k views

Why do we need to specify partition type in fdisk and later again in mkfs?

I'm a little confused about fdisk and mkfs. So - here is typical USB flash drive partitioning and formatting: umount /dev/sdb fdisk fdisk /dev/sdb Command (m for help): d Selected partition 1 ...
2
votes
2answers
3k views

Use testdisk and gpart information to mount ext4 partition

I am trying to recover the ext4 partition table of a 2TB disk, where I have 900.000 files. I have cloned the original HD and now I am working on the cloned HD. And I am running Parted Magic Live CD. ...
4
votes
1answer
6k views

How do I check how much free space left on a device to create a partition

Let's say I have this virtual machine running: [root@centos ~]# fdisk -ul Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors Units = sectors ...
2
votes
2answers
991 views

Errors from cfdisk with new external USB backup drive

I've picked up an HP SimpleSave sd500a backup drive. This is a 2.5", 500GB drive. It has a mysterious CD-like partition, but otherwise seems to contain a WD Scorpio Blue disk. It seems that the ...
3
votes
2answers
1k views

How to create a new partition on a hard disk?

How do I create a new partition on a hard disk, from the terminal? I've been reading the man pages for fdisk and mkfs, but they're confusing. I need to know how to create a new partition on a blank ...
9
votes
1answer
4k views

How does partprobe work?

I was looking for a way to refresh the scsi bus (or any other bus, for that matter) that would allow my kernel ( 2.6.18-194-el5 on CentOS 5.5) to know about the partitions on a drive, and I couldn't ...