Ubuntu :: Aligning Existing Partitions Without Deleting Any

Jul 14, 2011

When I was installing Ubuntu onto my laptop, I probably did a mistake partitioning the hard drive by selecting align to: nothing, because I didn't want to have unallocated spaces between partitions. However, this resulted in partitions' misalignment as no one partition in the extended one (including the one that is extended) doesn't start on a physical sector boundary. As I already have much data on the HDD and I don't have another one that big, it is impossible for me to erase existing partitions and then copy the data back. So, is there please a way to get the partitions aligned properly without deleting them?

Here is output from fdisk -lu:
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xd58c6e9d

View 6 Replies


ADVERTISEMENT

Hardware :: Aligning Partitions On "advanced Format" WD Hard Disks?

Jul 27, 2010

the recent versions of fdisk on Fedora 13 and Ubuntu 10.04 are supposed automatically to solve these things around 4k sector aligment thing if one starts fdisk with -u and -c flags. But I'm getting confused as the heads / sectors informations always differ every time I create a partition.I have WD Green 1.5TB disk. I want 2 partitions. sdb1 with 1.3TB and sdb2 with the remaining space. Here's how it looks like. When I create the first partition (1.3TB one), I get following listin with fdisk:

Code:

# fdisk -lu /dev/sdb
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
78 heads, 37 sectors/track, 1015342 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes

[code].....

View 3 Replies View Related

General :: Windows 7 - After Deleting Partitions?

May 16, 2011

I have a laptop that I was dual booting with Windows 7 and Ubuntu. I used the MSFT disk manager to delete the partitions. I made sure my windows live cd was working, which it was, before doing this. But now, when I boot my computer, it won't run the cd. All I get is

error: no such partition. and then a command prompt: grub rescue>

I made sure my boot priority was set to boot from the CD first.

View 2 Replies View Related

General :: Deleting Hidden Partitions On USB Drive

Feb 19, 2010

I recently bought a Buffalo 500GB ministation usb with "optional disk encryption". Turns out, I'm having one hell of a time trying to remove the "optional" from the drive. I figured I could just delete the program that is on the disk, and go on my way. That doesn't seem to be the case.

fdisk /dev/sdc1, then "p" showed that there were 4 partitions. So I deleted them one by one. "n" gave me a new partition. "t" I used 87 because I will be using it on windows. Then "w" to write everything.
mkfs -t ntfs /dev/sdc1 - all went well.
fsck -f -y /dev/sdc1 - all went well

Then I took the removed the drive and plugged into Windows only to find that the "optional" is still there. It actually creates a virtual drive with the "optional" software. So I tried it over again. I tried fdisk only to see that the partitions were back (as if they were never removed). I removed them again, and used primary partition as linux and wrote to disk. As a hunch, I checked permissions. Can't remember what it said, but I did change them.

chmod 777 /dev/sdc1

Then in a last hope of desperation, before coming to work today, I decided to dd the drive.
dd if=/dev/zero of=/dev/sdc1 bs=4k conv=notrunc
Is it possible that the "optional" stuff is actually hard coded onto a chip, or something inside the drive and I may never get rid of it?

View 14 Replies View Related

General :: Deleting / Resizing Partitions On Android Tablet

Apr 13, 2011

I have a Huawei IDEOS S7 android tablet running 2.1.My USB port has died, so I need to delete a partition I put on the internal memory area, then resize the remaining partition back to the full amount. It looks like I should be able to use terminal emulator to do that, but I don't know any of the commands.

View 2 Replies View Related

Ubuntu Installation :: Installing Over Existing LUKS+LVM Partitions

Sep 2, 2010

I installed on LUKS+LVM, and I want to preserve my /home without moving the data to any external media (I don't have any). My partition layout is as follows:

sda1: /boot
sda2: encrypted volume (sda2_crypt)
sda2_crypt: LVM volume group, with /, swap and /home.

Having many previous (sad) experiences with completely borked experiments and data loss, I've decided to try the trick in VirtualBox first. I've installed Debian (testing, netinst, Dec 2009) with encrypted LVM, and touch'd a file in my $HOME so that I'd know if the contents were preserved. Then proceeded to install Ubuntu 10.04.1 from the alternative CD. After the installer started and loaded some of the basic components (but before it entered the partitioner) I've switched to a shell and read a scroll of identification:

Code:

$ cryptsetup luksOpen /dev/sda2 sda2_crypt
[entered the passphrase]
$ lvm vgscan
$ lvm lvscan

* Another concern; after the installation, I've noticed that the contents of my $HOME were overwritten by Ubuntu's default skeleton (pictures, desktop, music, templates, and other crap). The control file I've touch'd after installing Debian wasn't there.

View 1 Replies View Related

Ubuntu :: Install Mint, But It Cannot Detect Existing Partitions?

Nov 26, 2010

I want to install Linux Mint, but it cannot detect my existing partitions.I have a 500GB HDD, splitted in three partitions, on c: having a Win7 installed, and on d: and e: a lot of personal data.I tried to install Linux Mint, but the installer says there is no other OS installed and there is no any partition at all. I run the Linux Mint in live mode, Gparted says: "unallocated 465.76GiB". But when I go to Menu -> Computer then I can see each and every partition, I can mount them and browse them properly.I tried Ubuntu 10.04 and 10.10 with the same result as described above.

View 9 Replies View Related

Debian :: Installer Not Recognizing Existing Partitions

Apr 18, 2011

Currently, I have a dual boot set up with Ubuntu and PCLinuxOS. I have a separate / and /home partition for both (ext4). When I run the installer, it claims the whole disc is empty. I tried the expert option and loaded every module that seemed to have to do with partitioning, but that made no change. Is there some simple option I am missing that might help it recognize that there are existing partitions? This was the "testing" installer if that makes any difference.

View 3 Replies View Related

Ubuntu Installation :: Overwrite The Whole Disk - Recognize The Existing Partitions?

Jan 8, 2011

I have reinstalled XP and conseqently messed up Grub and lost Ubuntu. I am trying to do a fresh install but the installer insists on trying to overwrite the whole disk. I downloaded the alternate instal ISO as this has got over this problem in the past but this also wanted to overwrite the whole disk. It recognises the Sata Raid array as being nfts (this is my main data disk) but it doesn't recognise the existing partitions on my main disk:

18G windows
18G Old Ubuntu
113G nfts data disk

View 8 Replies View Related

Ubuntu Installation :: Existing Partitions Not Recognized - Empty Allocated Drive

Feb 6, 2010

I am trying to install ubuntu 9.10 on an system which already has XP installed. I had used Ubuntu earlier but when I installed XP ( in an attempt to dual boot) I seem to have lost the Ubuntu Installation. But the problem is GParted or the Ubuntu installer dont recognize the existing partitions but instead see it as an empty unallocated drive. I have a 120GB hard disk. Below is the extract after fdisk:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4fa8a60b
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4fa8a60b .....

Also this is how the disk Utility in Ubuntu sees my system: ( See attachment)
[IMG]file:///D:/Screenshot.png[/IMG]

View 9 Replies View Related

OpenSUSE Install :: 11.4 Not Recognizing Existing Partitions (Add Entries?)

Mar 13, 2011

As every time when a new OpenSuse Version arrives, I tried to install 11.4 (I have 11.2 ans 11.3 on separate partitions, + a Windows 7 that already was there when I bought my computer). Previous versions always recognized existing installations and added them to the Grub list, 11.4 doesen't... it merely recognizes the Windows. This is blocking me from testing it before adopting, as I always do, as I don't know how to add these entries manually; I'm too afraid not to be able to add the entries once installed, and not being able to use my older versions in case I have troubles. What went wrong in this release that developers forgot this important part? How I could manually add my entries for 11.2 and 11.3?

View 6 Replies View Related

Software :: Adding Partitions To An Existing Image File?

Jun 15, 2009

I have 2 image files, image 1 which is 16MB, has multiple partitions, where the boot partition has a 2.4 kernel in it, and image 2, which is 32MB, has a single partition with a 2.6 kernel.

I wish to add those extra partitions from image 1, into image 2, either by adding them within the 32MB(which means cutting back on the size of the existing partition), or adding them to the end of the image(which means extending the image beyond 32MB).

The boot partition for both images is ext2, while the rest of the partitions in image 1 is just raw data.

I'm working with these images in Mandriva Linux 2009.

How can I achieve what I want to do? I think it should be with fdisk and/or mkfs but I'm not sure how? I've tried using gparted to regenerate the partitions from a new image file with the following steps:
dd if=/dev/zero of=image.img bs=32M count=1
gparted image.img

Then I created a 30M boot partition. However, I'm not able to create the rest of the partitions as they are smaller than 1MB, which seems to be the min supported. I need precise control of the start/ending sectors of each partition.

View 1 Replies View Related

Red Hat :: TFTP - RHEL Installation Removes All The Existing Windows Partitions

Jul 28, 2010

I've configured my RHEL system to be used as tftp server. I've configured NFS,VSFTPD and DHCP too. Everything works fine, the clients are able to boot from PXE and get the kickstart information from the server and the installation completes successfully. Now the problem is the RHEL installation removes all the existing windows partitions. How do I make my system a dual boot? I've configured my kickstart to use "Remove existing Linux Partitions" and the problem still persists.

View 1 Replies View Related

Fedora Installation :: Huge Upgrade - Maintain Existing Partitions / Settings?

Aug 30, 2010

I've been running Fedora Core 3 on a P4 450 as a personal Samba server and domain controller. It's worked so well that I never gave any thought to upgrading. The other night, I noticed that Up To Date wasn't working, and that Firefox was acting strangely. I made the FC 13 installation disks, whereupon I found out that the system didn't have enough memory.

Rather than mess with the P3 450 any more, instead I swapped main boards and decided to do an upgrade. it even possible to do an "upgrade" from 3 to 13? Is it possible to maintain my existing partitions/settings. I've backed up everything that I'd be too unhappy to lose. It's a two drive system and the second is nothing but data, none of it catastrophic to lose, but at least disappointing. I'd like to keep the data and settings on the primary disk, but won't cry if I can't.

View 10 Replies View Related

General :: Bunch Of Utilities Running On Machine - Where To Start Because Of Existing Partitions

Jul 17, 2010

I have been given Toshiba Tecra S11 with windows 7 running on it to install Ubuntu 10.04. Toshiba has a bunch of utilities running on the machine set up as dev/sda1, dev/sda, dev/sda3 and dev/sda4. I do not know where to start because of these existing partitions.

View 2 Replies View Related

Server :: Mdadm: Rebuild A Software Raid From Drives With Existing Partitions?

Apr 24, 2011

Its from a Synology Box with 3 disks, which one is damaged. But this disk wasnt in use.Take a look on the raid-size of 493 GB - and the both available disks with 250GB..)
On the others there were a linear raid. during this damaged disk the synology-device tells me, that the volume was crashed.But it look like, that this disk was not mounted into this volume.Quote:

DiskStation> mdadm --detail /dev/md2
/dev/md2:
Version : 00.90

[code]....

View 3 Replies View Related

Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?

Apr 18, 2010

I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions

View 2 Replies View Related

OpenSUSE :: NTFS FOLDER - Keep 2 Ntfs Partitions Intact Will Deleting The Partition

May 26, 2011

I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.

View 3 Replies View Related

Hardware :: Aligning Sectors For An SSD?

Aug 3, 2010

I have an Acer tiny desktop using laptop components and I want to replace its small laptop hdd running Vista with a Kingston SSDNow V Series Boot Drive 30GB and install Ubuntu, since it will support TRIM. I am aware of the current issues on some new hard drives with 512 vs. 4k sector sizes and the necessity to align sectors for those drives. And I know I've seen some posts or discussion of aligning sectors for SSD's.

I'll be doing more searching for info on this, but my previous searches on the 4K sector alignment issue for the new WD hdd's on linux were confusing. Does anyone have definitive information on the necessity of aligning 4k sectors on current Linux kernels, or on whether aligning sectors is necessary for SSD's?

View 9 Replies View Related

Ubuntu :: Aligning A Wd20ears Hard Drive After The Fact?

Nov 13, 2010

After getting my components, building my computer, installing ubuntu and beginning to configure things I found out about the issues with aligning Western Digital's wd20ears 2TB hard drive. So I'm wondering what my options are. It's Maverick I've installed and when I go to the 'administration > disk utility' it reports a 1MB partition at the front, then 2TB partition for Ubuntu, then 25GB swap. Can/should I be worrying about this now? Am I too late to do anything except start over (remove old partitions and create new ones beginning in the right sector?) I read in this thread (this thread here) a post that made me hope perhaps I'm worrying about a non-issue but I don't know enough to diagnose things (or fix) myself...

View 9 Replies View Related

Programming :: Aligning Two Different Pieces Of Text On Opposite Sides Of Screen

Mar 21, 2009

I have written a CGI script which prints 2 tags at either end of the screen (actually they are the "Previous page" and "Next page" links for either end of the screen). The left one is under a <DIV ALIGN="LEFT"></DIV> and the right one <DIV ALIGN="RIGHT"></DIV>. Unfortunately they don't line up on screen - the left "Previous page" text is one line higher than the "Next page" link - I tried putting in a <NOBR> tag between them but it didn't work - can someone tell me what to do?

View 7 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

Server :: Add Existing Unix User To Existing LDAP?

Jun 23, 2010

I have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.

View 7 Replies View Related

Ubuntu Installation :: Installer Won't Recognize Partitions - Error Message Saying Partitions Over Sized

Mar 22, 2011

I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),

[Code]....

View 9 Replies View Related

Ubuntu Installation :: CD Doesn't Detect Partitions But No Apparent Overlapping Partitions?

Mar 3, 2010

Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run

Code:

sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print

and have received the following output:

Code:

ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes

[code]....

View 3 Replies View Related

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

OpenSUSE Install :: Access Partitions From Vista - Can't Open Ext3 Partitions

Jan 9, 2010

I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.

View 3 Replies View Related

Hardware :: Change Primary Partitions To Logical Partitions AND Migrate Their Data?

Mar 28, 2010

I've installed Arch Linux onto my Western Digital SATA drive.I love it, best ever, however, I need the fglrx proprietry driver for better 3-d performace, and decided to create a new partition. I decided to install Linux Mint.Sadly, in all my noobishness, I forgot about the 4 primary partition limit (oops!) and as I have /, /home, swap, and /boot partitions (all primary) already installed, I have run into a bit of a problem.I resized my /home partition (almost 500GB) to about 225, and was then told I have over 200GB unusable space. Is it possible for me to change at least 1 of my primary partitions to logical partitions AND keep all the data intact (AND edit the arch configuration so that it'll still work) so I can install a second linux? I sincerely doubt it

View 10 Replies View Related

Hardware :: XEN Citrix And Partitions - What Is Sda2 And Sda3 Partitions?

Apr 11, 2011

I have problem with XEN Citrix server I can not understand ; what is sda2 and sda3 partitions ?

Code:
root@cl-500 ~]# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000407625728 bytes
64 heads, 32 sectors/track, 1907737 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

[Code]...

View 4 Replies View Related

General :: LVM Partitions Are Equals To OS Partitions?

May 26, 2011

When we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp. Are these partitions the same type of partitions as the partitions created by LVM?

View 1 Replies View Related







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