I want to install Arch Linux on my desktop, it is going to be a dual boot with Windows. I booted into the installation CD, but when I started cfdisk to partition my hard drive it gave me the following error: FATAL ERROR: Primairy parititon 1, partition ends in the final partial cylinder.The QuestionHow can I troubleshoot and fix this?Additional details These will be added if asked for.
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added): h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e
creating a new partition when i have only primary partition on my 40gb harddisk.
what i did while installation was selected use entire partition and now i want a additional partition other than primary ?
I want to assign 10GB for Primary one and wanna create Two 14GB partitions , I Also dont know what Swap partition Is.
Since i am a month old ( January 2011 ! ) UBUNTU user who hates MS Windows now, if i gets this problem solved , i can convince more people to replace their OS to Ubuntu .
I formatted a 16GB USB flash drive via right click. Then I ran gparted and got as far as this [image attached] Do I choose Primary Partition or Extended Partition for this second partition?
So I was creating a bootable USB stick with Unetbootin and accidentally selected my hard drive instead of the flash drive. My system is still running but I'm pretty sure I hosed it and it's not going to boot again if I restart. When I run cfdisk on my boot drive it says "FATAL ERROR: Cannot open disk drive". When I run cfdisk without a drive specification it says "FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylinder". I think this problem is probably not specific to OpenSUSE but I figured this is as good a place to start as any.
I made a fresh ubuntu server installation with two of the same hard disk drives in RAID1 mode.When the installation finished, I had some errors in random times rendering the system unresponsibleCode:end_request: I/O error, dev sda, sector <Number>From the above error, it looks like there was a problem with disk sda so I decided to change it with another same disk and rebuild the RAID1.
When I put the new hard disk on it, created a raid partition of the maximum allowed size and tried to add it to the raid array (after having removed the previous disk) I got an error saying that the new partition is not large enough to join this existing RAID1 array!Then an "fdisk -l" command shown something weird...The existing working hard disk in the RAID shows that it has 38913 cylinders but the partition starts at 1 and ends at 38913+1=38914!!How is this possible? When I create a partition myself I am not allowed to put numbers larger than the total number of cylinders!
Code: # fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes
I have an older Dell Inspiron e1505. The hard-drive went bad years ago and I look to revive it. I purchased a new hard-drive and proceeded to install Windows XP Pro that I have a partial install of XP professional but do not have the key. Microsoft explained because I cannot find I would have to buy a new one instead of keeping my key within their Microsoft store. So instead of purchasing a new key I would like to install the latest version of Ubuntu and go the Linux route.
I downloaded the latest version(non pc I believe) and have it booting of the Cdrom. I am now stuck because it bypasses the cdrom /disk and starts to load XP home again. Will continue to research as I move forward but would definitely like some pointers on what I can do as far as removing the partial install of Windows XP home.
I'm running an Acer Aspire 1830T-3721 dual-booting Windows 7 with Ubuntu 10.10 (Desktop).
Background: So first I dropped my laptop a couple feet while Windows was running. The laptop immediately shut off and then tried to boot. Booting Windows results in an unfortunate "Windows has encountered a problem communicating with a device connected to your computer. The error can be caused by ... faulty hardware ... Status: Oxc00000e9 Info: An unexpected I/O error has occurred." But Ubuntu booted fine, and could access my NTFS files fine, so I was trying to work on the problem from there. I try a few utilities, looking at the partition table, etc without actually applying any changes.
Then I run a fsck on the drive. It loudly warns me that if I continue on a mounted drive, then I'm going to mess things up. In a moment of stupidity I push on, thinking that surely it would ask me for more configuration, or confirmation, before actually starting. The fsck runs for about 1 second before I Ctrl-C it, running some preliminary stuff and then just starting pass 1.
After this, Ubuntu won't boot anymore. Instead, it hangs just after the init-bottom script runs. If I boot with init=/bin/bash, I can get to a shell, and see that my file system is still there, but not sure what else to do.
I've been running off of a SysRescCD LiveCD, from which I've looked at the drive with testdisk. Testdisk reports that "the hard disk seems too small" while showing me the partition table.
I ran a fsck on the Linux partition; it fixed a bunch of things. There has been no apparent effect on the boot behavior.
I can access all my files, back them up, and reinstall Ubuntu, but I'm hoping there's a better solution, perhaps one that will also help me repair my Windows installation (but I'm looking at one problem at a time here).
Everything is installed and setup on my system, but when I setup my partitions I chose my Windows partition to be bootable. Can I just use cfdisk to toggle the bootable flag so my linux partition is bootable and rewrite the partition table?
I'm trying to samba share my NTSF partition in slackware 13. I chose for root to have read/write access only. How can I change this to allow samba share for my regular non-root account?
i have 2 partitions. one with vista and the other with ubuntu. i would like to make another primary partition from the free space in my ubuntu partition. anyway to do this?
I somehow messed up my filesystem. I installed Ubuntu directly with LVM. This created an extended partition including a logical one. When I run out of space, I just increased my space (through VMware) and then added a new PRIMARY partition.
Then I added this one to the volumegroup and increased the logical volume. After I did this a few times, there were no longer any primary partitions allowed (only 4). Then I resized the FS, resized the logical volume, resized the volume group, and removed the physical volume. Now I'm no longer able to create an extended volume (only one) but it's not at the end (there are other primary partitions behind this one at the disk), so I'm not able to create some logical volumes.
What is the best possibility to add some space to the LVM and being able to do this a few times in the future again?
further info:
pvscan:
fdisk -l for sda:
There was a /dev/sda3 at the end of the disk. I already deleted this partition.
So the order on the disk is: sda1 | sda2 (extended) | sda5 (logical referred in sda2) | sda4 | free space
Does it matter that there is type "Linux" for sda4 or can I without damaging the lvm just change it (with cfdisk) to "Linux LVM"?
I have to write a script or program to log the details of the primary partition of a linux server which should be generic. Can anyone tel what is the command in linux to get the list of the partitions and how to find the primary partition among the other. Or can I know from proc filesystem.
When I set up my current Debian desktop system ( currently squeeze ) in 2007 I allocated only 8.4G to my / partition. Now I find it is getting too crowded with only about 580M free space (worked around CD & DVD burning by creating a /tmp folder in my /home/username folder). My current plan for fixing this is to use gparted running from a live-cd. I will first delete my swap partition and my /home partition then use gparted to enlarge my / partition to 20G. Next I will recreate & format my swap and /home partitions and restore the contents of my /home partition from backup. I will still have lots of room to spare in my /home partition. My system has no extended partitions. My hd is 250G total. I know this will change the UUIDs of the two new partitions but am not sure if it will change the UUID of the expanded / partition. I expect it will. My next step will be to edit my /etc/fstab and put in the new UUIDs which I will get by running blkid /dev/sdb. My backup drive is an ide drive, /dev/sda. My question is am I likely to run into boot problems with grub2? Should I chroot into my / partition and run update-grub before I reboot or wait to see if it will reboot first?
I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:
1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..
2. My current planned partition map is / 1G /tmp 10G /usr 20G /var 5G /home the rest
taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?
I was installing opensuse 11.2 in parallel with windows xp.but during installation suddenly power has gone and after that opensuse is giving me the error message corrupt partition.i am also not able to login in xp. so I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.
I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work. i have 2 window partition(1 for windows and 1 for data).i do,nt want to format 2,nd partition.
How can I installed windows?My plan was first to install windows xp, then opensuse again.
This is my partition table....(in the image) Now I would like to install windows in the unpartitioned space after a long time..... I tried but could not do that. I understood that Windows needs only primary partitions!
So I tried to convert this logical one into primary, but of no use... Is it possible to convert that unpartitioned space which is under logical drive to a primary one!
right now I've been playing around with Ubuntu using Wubi and I would like to actually install Ubuntu onto its own partition. But I dont want to lose my Windows OS either (I need it for applications like MATLAB and LabVIEW).
My issue is, my laptop currently already has three primary partitions. One for windows, one for recovery and one "SYSTEM_DRV" (used to hold OEM windows license info apparently). I dont want to mess with any of those partitions. my question is, can I still install Ubuntu when I only have one primary partition?
I read about extended and logical partitions in the guide, but the wording was pretty confusing. All it said was Ubuntu needs two partitions, it didnt say if the partitions could be any type.
I have been running a dual boot system for a while now and I haven't logged onto the Windows side for quite a while. I'm ready to whack it.
What I want to do is get rid of sda1, sda2, sda3 partitions(all Windows related) - migrate my Linux install(sda5) to a Primary partition, migrate the swap out of the extended partition, and then make everything else my "data"(ext4) partition...so basically go to 2 primary partitions and a swap.
I know how to ultimately get to my one big "data" partition, but the part I'm not so sure or comfortable with is whacking the current Primary partitions and migrating the Ubuntu install to the new primary partition.
Device Boot Start End Blocks Id System /dev/sda1 1 13 102400 de Dell Utility Partition 1 does not end on cylinder boundary. /dev/sda2 * 13 1926 15360000 7 HPFS/NTFS
I am running a dual boot of WIndows XP and Xubuntu 10.10 and I want to have an NTFS partition so I access files in both OSs. From what I understand, it has to be a Primary Partition, not a logical one, right? The thing is, GParted doesn't give me the option to create a Primary Partition, only a Logical one inside sda2 (Xubuntu).
P. s.: I am running GParted from inside the Live CD.
Today due to losing one of my partitions (I call it here P1) by installing windows xp, I recovered it by "Parted" P1 was a logical partition but now P1 is marked as a Primary one
know the best way to shrink the Windows 7 64 bit primary partition (C: drive)? The C: drive was originally just over 900 GB free space. I shrunk it using Windows 7 Disk Management, but it would only let me shrink to 468 GB, which I did. I want to shrink it to 100 GB. Will G-Parted work for this? Will I be able to boot into Windows after I use G-Parted? Or will I have to use the Repair Disc to fix Windows? If so, will the Repair Disc work. I have a new PC. I had Ubuntu 10.10 dual booted with Windows XP on my old PC.
I'm trying to convert big ext4 partition to logical. I was able to do that with Arconis Disk Director Home 11 with swap and ext3 partition, but it doesn't recognize ext4.
Unfortunately I can't copy 2TB data to another HD Now I have:
Pri /boot ext3 Log / ext3 Log swap swap Pri /media/X ext4 <- 2TB