Ubuntu :: Won't Boot After Moving To New Hard Drive And Partition Structure
Dec 9, 2010
Old drive is dying, so I copied the system over to my new drive. I've moved /home and /tmp to separate partitions and updated fstab and grub with the appropriate UUIDs from blkid. Grub wasn't loading but that's been fixed now.
Problem:
The problem now is that when I boot I get the following screen:
Errors were found while checking the disk drive for /
Press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery
F doesn't work, and in manual recovery the file system is read-only. How to proceed?
View 9 Replies
ADVERTISEMENT
Mar 12, 2011
I have a desire to boot Tripel windows7 arch and Slackware but unsure how to partison my hard drive??
View 5 Replies
View Related
Oct 8, 2010
I'd like the final layout to have a Windows partition (will start out as XP and will become Win7 when I can afford yet another copy), a partition for Ubuntu, and a shared Data partition that I can use for all my files between both OSs. I think this should be fairly straight forward with Linux on a Primary partition with / and swap. Only thing is, from what I've read (and yes I know this is a bit old school) it might be a good idea to put in a /Home partition so that I can reinstall new upgrades and maintain settings. But I don't want to max out my 4 primary partitions so I can use a 4th partition as a kind of sandbox for OS testing without using VirtualBox all the time.
This leaves me in need of some advice, I've never used Fdisk and I was planning on just using the Ubuntu installer to do all of this, but I don't know if I can create /Home as a logical partition in the main Ubuntu partition and still have the benefit of being able to reformat /root without losing /Home. I might have just confused myself, because no matter how many guides and How Tos I read I still don't really get extended partitions, I understand logical vs. primary but extended is...confusing. I need the Ubuntu partition to be bootable, so it needs to be a primary partition...I think. Unless I can have: /boot, /, swap, and /Home...
Also, if Ubuntu can read NTFS, and Win7 can read Ext3, what should a do with /Data? Or should I just go with FAT32 and be done with it. (It's a big HDD btw, 640 GB, so /Data will be fairly large)
View 6 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
Mar 23, 2010
I am trying to move a whole bunch of files from one partition on one hard drive to the same partition on another hard drive. Can I mount the same partition (same name, different drives, i.e. /data on /dev/hda1 and /data on /dev/hdb1)and copy those files? Shutdown the server, take out /dev/hda1 and boot up with the new drive and it's /data contents.
View 1 Replies
View Related
Apr 1, 2011
I installed Ubuntu 10.10 on my laptop alongside Windows 7 on the second 320 GB hard drives and now I want to replace it with a 750 GB hard drive, but when I removed it the grub was gone and Windows (on the first hard drive) wouldn't load. This was a mistake, since the grub is installed on the same hard disk as Ubuntu. I want to use GPorted to delete the partitions on the hard drive, but when I boot with it and use the hard drive partition editor it won't let me delete or move one of the partitions. Does this partition contain the grub and if so how do I move it onto my other hard drive?
View 3 Replies
View Related
Oct 28, 2009
I have Fedora running on my computer at school and have been informed we are getting new computers.
Can I simply move my hard drive to the new computers? I don't have to reinstall do I? Would I have to use a new kernel?
View 14 Replies
View Related
Dec 7, 2010
Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.
I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.
I move as such:
dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1
The operation finishes with no problems.
Fsck reports clean... so... I run:
fsck -l /dev/sdb1
A few small errors pop up and they get fixed.
My free space remaining, as expected, is 5.8 GB.
I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.
It does so, the operation completes.
I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.
I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.
View 5 Replies
View Related
May 31, 2010
As my proficiency with Linux improves slowly, I've been trying to find the answers for myself, but in this situation I must admit I find myself rather stumped. I have a perfectly nicely working Fedora 12 install on an 80GB SATA drive, and when it hit an error and wouldn't boot last week (easily fixed with fsck from the initial command line) I panicked and ordered a new 250 GB drive. It got here and I might as well use it, I thought to myself, so I went about trying to figure out how to move my install without having to reset all of my settings, programs and so on. I didn't want to mess with dd because I'm not so so clear on resizing my partitions once the copy is done (if someone thinks this is a better idea I'm open to suggestions.) After some poking around I found this set of instructions which I attempted to follow to the letter, but hit some snags. I understand this thread I am referring to may be a bit outdated, which is why (I assume) I hit a bump here
Code:
# mount /dev/hdy1 /boot
mount returns an error demanding I specify the file system type. At a loss, I barreled on until
Code:
[Code]...
To summarize, I partitioned and mounted my new drive using fdfisk and the instructions provided above, then used rsync to copy over all of the files, so as far as I know the new drive is ready to go, just not yet bootable. Opening the Grub.conf file in Kwrite (as root) returns a blank page. What do I do now?
As a side note, you can see that I am not too squeamish about the terminal, so I would prefer to find a "command line only" solution to this relatively simple (?) procedure.
View 5 Replies
View Related
May 12, 2011
I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.
However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.
View 6 Replies
View Related
Mar 2, 2011
Using gparted as shown on the partitions in the image:
sda1 is Windows 7
sda2 is swap
sda3 is root
sda4 is home
I'd like to move sda4 to the end of the drive, thus shrinking it by 20GB, and shunt every other partition along to make an extra 20GB for sda1 at the start of the drive, and expand this partition into the 20GB of space I created.
When I start moving and shrinking sda4 (before I apply and execute the command) I get a warning saying that it is very dangerous to move a boot partition and it could render my system unbootable etc etc.
How safe is it to do this? If I bork it, can I recover easily?
I assume the error has something to do with start/end disk sectors in the grub2 list (however this works these days). In short, messages like this do what they should and scare me just enough to seek assistance from this wonderful online community!
View 6 Replies
View Related
May 18, 2011
I'm running Debian Wheezy on a Dell XPS M1530 laptop, 64-bit.
I'm having a boot problem after moving my /usr directory out of the root partition and into its own partition.
I followed the "easy way" here: [url]
Basically, I moved the contents of /usr to a new partition -- renamed /usr in root to /oldusr -- and edited fstab and tried to reboot... but the boot process wasn't able to find the new /usr.
After using /dev/sda7 in fstab (to no success) I ran blkid to find the UUID and used that (again, to no success).
My fstab is below:
For what it's worth, grub is also looking different -- none of the debian backgrounds that were there previously remain. While it lists the same kernels to boot into the boot (as described above) fails.
View 14 Replies
View Related
Jun 22, 2011
I installed Redhat Enterprise 3 on one of my servers. In my haste I didn't properly partition both Hard Drives and only properly partitioned one of them. Thus now I have
/dev/sdb1 478711768 137858256 316536328 31% /
/dev/sda1 101089 15346 80524 17% /boot
Where /dev/sda1 is actually a 80 GB hard drive. Is there anyway I can safely and easily repartition the unpartitioned space without causing a huge mess? I have a very important Oracle database on /dev/sdb1 and thus I want to be able to back it up on the second disk. I can create a partition on that drive?
View 2 Replies
View Related
Jul 21, 2010
I need to move a Linux boot partition which uses grub into some unallocated space to its left on a hard disk in order to make more room for the partition after it. The boot code is not in the MBR but in its own partition. I have a multi-boot program which currently correctly boots the partition. The partition order will not change.
I have non-Linux software that can move the partition. The software suggests I have to run some Linux command after the move, but does not say what to do for grub. I would be glad to move the partition within Linux if that makes it easier, perhaps with gparted or kparted.
Can someone tell me if there is anything I have to do for grub if I move the partition to its left ? My multi-boot loader will find the partition to boot once I move it. If I move it with gparted or kparted do I have to do anything after that to make sure grub works correctly once my multi-boot program boots the partition ?
View 5 Replies
View Related
Dec 16, 2010
I have a system which previously have 3 OS installed on one physical HDD; WinXP on sda1, Win7 on sda2 and Slackware linux on sda3. Lilo is used as the boot loader.
Recently I bought another HDD and decided to reinstalled my Win7 on it and I use GParted to move Slackware to the original Win7 slot on my first HDD so now my Slackware partition has been move from sda3 to sda2.
I modified the /etc/lilo.conf file so that it reflects the new Slackware partition and run lilo to installed it.
The lilo installed correctly I can boot into WinXP and Win7 without problem but when I try to boot into Slackware, it fail at the root filesystem check, apparently the e2fsck still try to check sda3.
Is there anything that I can do to correct the problem without having to reinstall Linux?
View 4 Replies
View Related
Apr 23, 2009
Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).
This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.
When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).
If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).
Rather than go through yet another install, would the following work?
from FC10, move /boot to (say) /boot.0
mkdir /boot
edit fstab to include "mount /dev/sda2 /boot"
If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.
Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...
Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?
View 2 Replies
View Related
Mar 25, 2011
I moved my /var partition using Gparted Live CD version 0.8.0-3. Everything went fine. But when I boot my Fedora 14, I get error message (something like "name_count maxed, losing inode data"). Maybe there are other error messages as well, but they scroll away very quickly. Is there any way to slow them down?
But the boot hangs after starting udev and setting host name to localhost.localdomain. It just hangs there. If I press the [Caps Lock] key, it toggles the Caps Lock LED. If I boot the installation DVD in Rescue mode, it mounts all partitions without problems, and the data is there.
View 1 Replies
View Related
Jan 30, 2010
A while back I ran into the situation of running out of space on /boot. When I last installed Suse I just went with the recommended LVM layout, which proposes a very small /boot partition. When you run out of space you are now faced with resizing the LVM, which Gparted unfortunately does not support.In Googling around I did not find a concise guide, so I collected the information I needed and and then wrote a guide on the steps I used to resolve this issue and it is available at Resizing Default LVM Partitions and Moving /boot - Mine the Harvest
I found using EVMS from a live CD to be quite simple and was able to create a new /boot partition and reconfigure grub to use it in very short order. I was quite impressed with how easy to use EVMS was and the options it provides. (I think that the default LVM layout the Suse installer proposes is overly conservative on the size of the /boot partition. Why not allocate a few hundred megs, especially considering the size of drives today? Perhaps Suse will soon move to using grub2 and eliminating /boot altogether, but for now the very small allocation of space can be a bit of a pitfall for users -- especially when they are not familiar with resizing LVMs and reconfiguring grub. Of course moving to grub2 also introduces its own complexities too.)
View 2 Replies
View Related
May 16, 2010
Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here: [url]
So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. I updated UUIDs in grub's configuration as suggested in this thread:[url]
But now it fails to boot with the following error:
Code:
I checked the filesystem on this partition and its fine. I tried to recreate the initramfs from Knoppix:
Code:
But it didn't change anything.
How can I either fix it or install a different kernel on this drive so I could boot into it and re-install my default kernels?
View 3 Replies
View Related
Jul 11, 2011
I know it is possible to move the ubuntu home directory but what is the best way to move it safely to an NTFS partition that already has valuable data in?
View 8 Replies
View Related
Oct 30, 2010
I have an existing install of 10.4 on a 320 GB hard drive without home in it's own partition. I have a new 500GB hard drive that I want to install 10.10 on. After installing 10.10 and making /Home on it's own partition can I copy the entire old home folder including the hidden files to the new home partition on the new hard drive so that all of my programs and files are saved. I don't have enough room left on the old hard drive to create and copy home to a new partition. Am I going about this the right way or do I need to rethink and do some kind of backup restore on the new hard drive or some other way. I am trying to accomplish this so that in the future I can install a clean copy of Ubuntu when they are released without losing my current settings and files. I started out with 7.10 but my learning curve is slow.
View 2 Replies
View Related
Jan 4, 2011
I have just put a new hard drive into my laptop (new drive is dev/sdb) I have formatted the new drive as an ext3 system. On my old hard drive I'm dual booting windows 7 and ubuntu, so my old drive (dev/sda) has several partitions. I am trying to copy ubuntu which is on dev/sda3 (which is itself an "extended" file system composed of sda5 "ext3" and sda6 "linux swap") to dev/sdb. Once copied i intend for the new drive to be an exclusive ubuntu drive and the old drive an exclusive windows 7 drive (by getting rid of dev/sda3 whose content should now be on dev/sdb.) Ubuntu was installed on the old hard drive after windows 7.
I understand the boot loader will be affected although I'm unsure how. I have Gparted installed. I have looked at the man page for the dd command although I don't know how it would work in my particular example. I have also looked at Clonezilla although I don't know if this is appropriate for what I want to do. I have read a few similar threads although I found some of them difficult to follow.
View 8 Replies
View Related
Jan 9, 2011
I want to copy my ubuntu install to a bigger hard drive, and am not quite sure what to do. According to my google searches, I need to run ubuntu from a live cd, then in a partitioning program copy the ubuntu partition to the new one, then resize it. Is that all? Do I need a linuxswap partition on the new hard drive? I have been using kde partition manager to arrange my new partitions. On one hard drive I have the partition I want to install ubuntu on(what type should this be? ext4?) and a partition to share between ubuntu and windows, and then will use my old ubuntu partition for installing windows xp.
View 2 Replies
View Related
Sep 21, 2009
I'm trying to install Ubuntu 9.04 on an HP Compaq dc5000 uT with Windows XP Pro. service pack 3. Downloaded the ISO file and burned a CD with Infra Recorder. The demonstration version works ok as far as I can tell, this is my first try at using any form of Linux. If I can get Ubuntu to work I plan to get rid of Windows completely. I'm stuck at step 4 of the install process, all options in the partition window are dimmed, nothing is clickable.
View 10 Replies
View Related
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
Jan 15, 2010
I just bought a new external 1 TB HP hard drive that came with two partitions.One larger for storage and another 700 MB partition called hplauncher as a sub-file of what shows as a CD drive called HP virtual CD 4607 which held files for windows automatic back up. Which I don't need.Both the CD and launcher drives do not allow for deletion or formatting. The larger drive does.I am viewing it in the Palimpsest Disk Utility that cam with my Ubuntu 9.10 clean install.
View 8 Replies
View Related
Jan 28, 2010
i was reformatting the hard drive of a laptop & in doing so i accedently deleted the partition of the portable hard drive & now the hard drive dosent show up is there a way to fix this & get the data back
View 9 Replies
View Related
Oct 17, 2010
I am currently running a dual boot with windows 7 and Ubuntu 9.10. Is there a way to get rid of the windows 7 partition without redoing the hard drive? I know how to delete the second partition and then do a FixMbr in windows. Is there a way to do that in Ubuntu?
View 2 Replies
View Related
Dec 22, 2010
What happens when you wipe a hard drive which has a partition that is mounted? I was using ubuntu 9.10 live CD but I had one partition on a hard drive mounted. Then, I started to wipe the entire hard drive with random characters using dd. Only later I realized that I hadn't unmounted that partition. what could have happened? Could the Live CD have been damaged?
View 4 Replies
View Related
Jan 11, 2011
Due to school, I need to remove the ubuntu partition from my hard drive because I need space I allotted to ubuntu.
I have an acer aspire one netbook.
I need to know how to remove Ubuntu and restore my hard drive without loosing my windows files (which are on a separate partition), I know i have to delete the ubuntu partition but what i am unclear of is what to do after that to restore windows as the primary boot.
View 2 Replies
View Related