Ubuntu Installation :: Installation Migration Attempt Gone Wrong
Feb 27, 2011
I installed Ubuntu 10.04 (32 bit version) a few months ago on a system with two IDE drives (cable select configuration). The primary drive (/dev/sda) is 40GB and the secondary drive (/dev/sdb) is 80GB. I created all of my partitions on the primary drive and left the secondary drive unconfigured. After a month or so I noticed that two of my partitions had quickly reached 50% capacity, as I had just taken a guess at an appropriate partition size when I first installed Ubuntu.
Since I had a larger unused drive already in place, I decided to migrate my installation from the smaller drive to the larger drive, but sizing the partitions in question more appropriately (i.e., much larger). I assumed that I could install Ubuntu on the bigger drive with larger partitions, byte-for-byte copy all my existing partitions from the old disk to the new one, edit /etc/fstab, reboot, and GBTW. Naturally that didn't work as I expected.
Here's what I did: Carefully logged my existing partitions on /dev/sda and their mount points Used a live CD to install the same version of Ubuntu on the larger drive (/dev/sdb), using its partition tool to generously size my partitions. I carefully logged the new partitions and their mount points. For each partition on /dev/sda (except for /boot and swap), I used dd to create a gzip'd image and stored all of those images on a backup drive.
I then used dd to complete the task of migrating all of these partitions (again, all but /boot and swap) to their respective partitions on /dev/sdb.
Ran blkid to see all of my partitions. I noticed that some of the UUIDs existed on both drives. I thought "hmmm...that's weird" and moved on.
Mounted my new root partition (/dev/sdb6) on a contrived mount point.
Edited /etc/fstab (after backing it up) and carefully replaced all the old UUIDs with their respective counterparts on my new drive. Also replaced the device reference for /boot with its respective counterpart.
Crossed fingers. Rebooted. Got some warnings about missing UUIDs.
After the system completely booted, I used the graphical disk utility and saw that the system mounted some partitions from /dev/sda and others from /dev/sdb. Not good.
Here are the steps I took since lurking here:
It seems my installation still has an identity crisis. What steps should I take from here to force my Ubuntu installation to only use my partitions on /dev/sdb?
Was there an easier way for me to migrate my installation to a new drive?
View 3 Replies
ADVERTISEMENT
Nov 9, 2009
I've had the same Fedora server (filewise) since it was RedHat, but I'm getting major issues with an open Bugzilla report and I'm considering a brand new install.
The thing is - I've had files on this server since 1999, really, with personalized settings and everything in between.
Is there any easy way to start a fresh install (on a brand new hard drive) and migrate my files over? Otherwise, how does one do a fresh install without losing files and programs they've been painstakingly been trying to maintain for an entire decade?
I don't even know how to install half of this stuff anymore. The computer was on autopilot for the better half of the last 10 years.
Is there an easy way to back up settings and restore them?
View 1 Replies
View Related
May 2, 2010
I migrated from 9.10 to 10.4 during the package installation I have the error: E: resolvconf: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1 ( In italian because I install the Italian version). The problem is: the file /etc/resol.conf I can't modify or delete from all user, root also.
View 1 Replies
View Related
Apr 24, 2010
I started using ubuntu now again as my second os. when i want to do some gaming i still need windows most of the times and some windows apps i just cant find equal versions in ubuntu at least not as user friendly yet. Now my question is this. I did not migrate my music to ubuntu during the installation due to i simply forgot so is there anyway to simply relaunch just the Migration assistant ? All i want is that my music from windows appears when i go to my music folder this will also make it easier for me when i use amarok.
View 1 Replies
View Related
Jun 4, 2010
I have transferred my Ubuntu partition (along with Windows XP and Linux swap partitions) to a new HDD using TrueImage's sector-by-sector method. Ubuntu runs quite well after I've made the suggested updates/upgrades. System version now is 10:04 Lucid Lynx. However, I'm missing the ALT-CTRL-F1 .. F6 terminals. All I see is a pattern of vertical stripes in the colors of my gnome desktop. Each time I switch from graphic mode to textmode the pattern shows a different variation of these colors.
View 1 Replies
View Related
Jun 21, 2010
I've been supporting Microsoft OS and Apps since 1992. I hold a BSEET and am one test shy of MCSE. I have my own Computer Support business helping Individuals and Small Business keep their M$ PCs running.
I'm also sick of Microsoft. I'm tired of their manipulations, deceptions, and failure to produce Software that serves the needs me and my customers. I've been watching Open Source for 3 years hoping for an Alternative I could recommend to my customers. I'm very excited about Ubuntu 9.10.
There is just one thing missing. I think it can be done, but I need the help of the experienced Users here. What I'd like to do is copy the existing "C:Documents and Settings" folder to a USB Drive, Install Ubuntu using the entire disk (blow Windows away), and finally point the (excellent) Windows Migration Tool in Ubuntu to those Profiles and have it Import them just like it does in a Parallel Install.
I found this:
Code:
1.) Fire up live CD
2.) Open up a terminal
3.) sudo gedit /etc/apt/sources.list and remove all comments (#) in front of the repositories, and save the file.
4.) sudo apt-get ntfs-3g
5.) mkdir /mnt/win
6.) ntfsmount /dev/<disk and partition number here> /mnt/win
7.) mkdir /mnt/win/users
8.) mv /mnt/win/Documents and Settings/<userprofile here> /mnt/win/users/
9.) umount /mnt/win
10.) start ubiquity from the commandline wih the new-partitioner switch like this: ubiquity --new-partitioner
11.) after the setup is done do NOT reboot
12.) mount the disk in step 6 again and move the profiles from step 8 back to the Documents and Settings folder. Else Windows might throw a tantrum not finding profiles.
But it fails at the sudo apt-get ntfs-3g command. I guess that's because this was written for a version that's several years old. update the Process for v9.10?
View 4 Replies
View Related
Jul 27, 2010
I'm in the Live CD and I've followed the steps to the migration assistant. Where it should say "Windows XP Media Center Edition" it claims that "There were no other users or operating systems suitable for importing from"
Also, on the where to install to step, Where at the top it should say that another operating system is installed, it is blank.
I'm wondering if I continue the installation, on boot-up will it detect windows?
I have searched this, and after 15 pages of results, I have not come to a definite conclusion.
View 2 Replies
View Related
Sep 22, 2010
My wubi installation works perfectly but since i cannot restart my netbook i cannot get to use it. however, i am a bioinformatician and for that type of work, i need linux.
migrating my ubuntu wubi install to a different partition on my hdd, from within windows (without restart) in order for me to mount that partition using vmware player and booting up ubuntu from windows. (and to possibly be able to do that from ubuntu as well later.)
so i need to move this wubi install.
I am used to old school move files and edit boot ini and such if there is no automatic way of doing this from within windows.
View 1 Replies
View Related
Jun 20, 2011
I have tried to upgrade from 10.10 to 11.04 three times and I have had no success. Every time I get the blank purple screen and go through hell to get it back to a usable point. I have been reading and researching about this issue and have had no luck. I have went through the steps of the sticky at the top of the forum and got no where. Can someone please look at my hardware listed below and get me some insight or a different route?
Graphics card: Nvidia GeForce 9500 GS
Here is a link to my exact computer info:[URL]
View 4 Replies
View Related
Jul 6, 2011
I'm doing web development on my laptop and I need to use the stable version of Firefox 4. The problem is that my laptop (acer aspire 5000) is running lucid* and there is no stable Fx4 in the repo. I do have the firefox nightly, but I would like to have a stable Fx4 too.Is there a ppa or should I attempt to build a .deb myself? Does anybody know if there is a lot of work to do that, or has anybody here done it themselves?
View 3 Replies
View Related
May 13, 2010
currently I'm running postgresql-8.3 server on lenny 32 bits. There are also installed some standard packages but in the near future I'd like to install mysql server on the same machine. I believe that 64 bit system will be faster so I decided to change from 32 to 64 bit. how to migrate postgresql database from 32 to 64 bits. I have postgresql data dir on separate volume. Will it be possible if I just use it as it is now in new 64 bit system with the same postgresql server config files or do I have to dump data and restore it in new installation ?
View 1 Replies
View Related
Mar 22, 2010
I have been able to get most of the way through the process of changing from using ext4 back to using ext3, but something is not quite right so my system does not boot properly.
I have a system that was running Karmic Koala 9.10 as a server (no graphical environment). I had two drives using RAID1 with LVM on top, where the logical volumes of oldvg (old volume group) were using mostly ext4. /boot was not part of the RAID: it's on a separate physical drive and uses ext2.
I recently added two more drives and used RAID1 and LVM, and made all lv partitions (/, /usr, /var, /tmp, /opt, /home, /srv) ext3. I used rsync to duplicate the contents onto the logical volumes of newvg (new volume group). I was careful with rsync's option switches, and this part seems to be fine.
I also edited (the new) /etc/fstab and changed the UUIDs of the seven mount points to point to the logical volumes that are part of newvg instead of oldvg, and added new entries to (the new) /boot/grub/menu.lst to refer to newvg in addition to those that I left around to refer to oldvg.
This wasn't sufficient: rebooting here failed, but I went in with a rescue disk, and first updated /boot/grub/device.map to include the new physical drives. I then mounted all the new logical volumes, mounted boot also at its proper place, and entered a chroot of the new system as it should be mounted. Once there, (and after making a backup of /boot) I ran "update-initramfs -k all -c" to rebuild the initrd images that were stored on /boot. Finally, I also edited /etc/mtab so that the two entries that referred to oldvg now refer to newvg instead.
Now, the machine begins to boot from newvg, but the console text includes messages like:
And a bit later,
Now, at this shell if I type mount, I see:
I am actually confused as to why there are only entries for /root and /var in /etc/mtab, actually, instead of entries for all of the main mount points. I am thinking it must be part of the boot staging process, because there are entries for newvg-usr, newvg-tmp, etc. in /etc/fstab.
When I type any of pvdisplay, vgdisplay, or lvdisplay, I get
In fact, even if I run lvm, I get a similar error:
However, if I go back to the rescue cd, pvdisplay, vgdisplay, and lvdisplay do show that all of the partitions from both the old and new volume groups are available.
View 1 Replies
View Related
Jan 17, 2010
Can't boot at all. At first, was able to boot using LiveCD USB but now whether I plug it or not, computer freezes at blank screen with blinking cursor at the top left of the screen.
View 1 Replies
View Related
May 15, 2010
I had a failed attempt at an upgrade to 10.04 but I know the error of my ways however before I go through it again does 10.04 still have the tools available for a dial-up connection, wvdial & gnome ppp?
View 4 Replies
View Related
Apr 9, 2010
My buddy has a computer with a problem and hes asked me to see if I can retrieve the data documents from the computer. The subject computer is a COMPAQ PRESARIO SR5030NX with a Pentium 4 cpu, 3.2 GHz, 1 GB RAM, running Windows Vista Home Basic.
His goal was to create a dual boot computer UBUNTU and Vista. What he did was to install UBUNTU, partitioning the computer in two partitions. The computer is now giving an error code of 21 when GRUB Loader starts up. Is there a restore disk or some kind of utility that can undo what was done to the computer. He has no backup disk.
I tried Recovery Commander Ver. 3 made by Avanquest but as their website indicates it�s for XP. They never updated it for Vista and Windows 7. Is there a utility that can undo some of the changes that were made to the machine when UBUNTU was installed, albeit, unsuccessfully.
(1) I have an HP PC running XP professional and I was wondering if I take the hard drive out from the COMPAQ and rig it to my HP via a SATA/IDE to USB 2.0 Adapter device would I be able to see the contents of that COMPAQ computer that had Vista and now UBUNTU.
(2)What about attaching the COMPAQ internal hard drive and attaching it to my HP as a slave drive.
(3)Can the UBUNTU disk going to help?
Were just after the data files and not software programs.
View 2 Replies
View Related
Nov 20, 2009
I downloaded the minimal boot image and installation CDs for F12 i386. On booting either I get the following messages:
Code:
This kernel requires the following features not present on the CPU:
cmov
Unable to boot - please use a kernel appropriate for your CPU
Looks to me like the installation media for i386 doesn't have an i386 kernel! I'm trying to install to an i586 CPU.
View 6 Replies
View Related
Apr 18, 2011
I have had Ubuntu desktop on my PC for a year now and am very happy with it. A couple of months ago I got a Ubuntu server 10.04 for playing about with. I have installed the gui, for personal reasons, but I want to upgrade to 10.10
Whenever I attempt the upgrade my server becomes unbootable and I have to reimage and start again. I have even tried performing the upgrade before I install the GUI but it still makes no difference.
Although I have the GUI I am doing the upgrade via command line.
Upon watching the upgrade in process, I find that no errors are occurring. Could it be something to do with my server provider?
Server Specs are: Specification: Intel Dual Core, 2.2 GHz 800MHz FSB, 2MB L2 Cache, 2Gb DDR, 1x 250Gb HDD
View 4 Replies
View Related
Jul 28, 2011
I was attempting dual boot my computer (ubuntu 11.04 and windows 7) and when I got to the stage to allocate drive space I accidentally formatted the largest partition of my hard drive to a linux swap. My computer froze while it was formatting the drive and I was forced to power off my laptop. Windows was my original operating system and was installed on the partition that is now formatted (or maybe not because of the crash during the formatting) as a linux swap. Therefore my windows no longer works and I cannot restore my computer for a backup because it wont let me restore it to the partition that is now a linux swap. Now when I boot from the linux install cd I get an error and am not able to install ubuntu or format/allocate drive space. Is there a way I can reformat and fix my harddrive so I can them restore windows.
View 9 Replies
View Related
Jan 31, 2016
I am attempting to install debian for the first time on my pc that has no cdrom drive. I downloaded the Jessie CD image and wrote it to a 4GB stick, it didnt work. Then tried the netinstall image but face the same issue.
To write the usb stick I used unetbooting first, then tried win32diskimager and finally tried DD while stick was not mounted
Code: Select alldd if=debian.iso of=/dev/sdb BS=4MB; sync
Issue is still the same: I boot from the usb and after selecting language and keyboard it fails to detect cdrom drive (no drive at all in my pc). Same behavior using normal or expert mode.
Im also unable to manually specify the drive (it looks at /cdrom and I wanted to change it to the usb stick itself or mount usb to /cdrom but I cant find my stick in /dev)
View 14 Replies
View Related
Dec 18, 2010
Background information: I need to install WinXP on my computer to use Spectraview II software for monitor profiling. Tried it under Wine, didn't work...thought about virtualization, but Graeme Gill (creator of Argyll) said that probably wouldn't work:
Quote: The problem is that emulators often don't implement hardware details properly or at all. There's no standard way on Linux to read/write the DDC, so there is no surprise that wine doesn't emulate MSWin's API's for this. It's doubtful that any of the VM's do either. USB can be an issue too, and some instruments may not work in an emulated environment. I already had Ubuntu 10.10 installed, so thought I'd try installing WinXP after, then recovering the MBR. Lots of headache.
[Code].....
View 2 Replies
View Related
May 26, 2010
I am attempting to upgrade Fedora 12 to 13. I get an error screen that said root could not be found. Four options are given. Not sure exactly their wording, but two appear to allow you to cancel the other two warn that if you reinitialize you will wipe out all data.
I have a Vista partition and a Fedora partition. I've added the vista ntfs partition to fstab with no help. All of the partition use the long UUID form. I added the root location (root (hd0,5) to the upgrade menu item in grub.conf and that didn't work either.
I'm reluctant to proceed for fear of initializing the entire drive. I could live with installing Fedora 13 over the existing partitions.
View 3 Replies
View Related
Oct 2, 2009
when i try to install fedora 11 on my laptop my Fedora 11 Preview installer crashes after attempt to create a partition. How do i overcome this problem
View 6 Replies
View Related
Oct 10, 2010
I grabbed the new lubuntu 10.10 from [URL] but it turns out I'm having a problem installing it on my netbook (Asus Eee PC 1015PED). While installing, this error pops up:
Quote:
The attempt to mount a file system with type ext4 in SCSI2 (0,0,0), partition #1 (sda) at / failed.You may resume partitioning from the partitioning menu.I'm installing via USB and have selected the option to erase everything and use the full HDD.
Edit: I had Xubuntu installed before.
View 2 Replies
View Related
Oct 15, 2010
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears: The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
View 6 Replies
View Related
Apr 27, 2011
When loading puppy linux on my computer from a CD I get an error message on the third step which is (loading the lup525.sfs mainfile)to ram. kernel panic not synching attempt to kill init. The CD works on other computers with no problems. My computer is a dual boot XP and Win7 machine.
View 3 Replies
View Related
Jun 7, 2010
Though not very sure with my inference, but I never had this issue while making an attempt to "Check for Ubuntu 10.04 updates" before! Refer to the attachment for detailed view. Only change I made this morning was to change the DNS addresses from that of Google's to Norton's Secure DNS vide 198.153.192.1 & 198.153.194.1!
View 2 Replies
View Related
Jan 4, 2010
I cannot for the life of me get my HD working again. I tried following all the various remedies I could find but to no avail.
Code:
ubuntu@ubuntu:~$ sudo e2fsck -f /dev/sda1
e2fsck 1.41.4 (27-Jan-2009)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?
Code:
ubuntu@ubuntu:~$ sudo dumpe2fs -f /dev/sda1 | grep -i superblock
dumpe2fs 1.41.4 (27-Jan-2009)
dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
It goes on and one like this. I'm stuck using the LiveCD for now (Jaunty) so I have some limitations.
View 1 Replies
View Related
Aug 27, 2010
I have two HDs and recently reinstalled Ubuntu.
However, I think grub may have installed to my media drive and not my main HD.
Here is the output of fdisk -l:
Code:
dev/sda1 is my media drive and I think during setup grub-install may have been automatically run on /dev/sda1. If this is the case,
1) How can I remove grub from sda1 and install it on sdb?
2) Should it be on sdb1 or sdb2?
3) Can I change the naming so my main drive is sda and my media drive is sdb?
View 1 Replies
View Related
Nov 28, 2010
Well this is the first time I've ever really installed Ubuntu... lol. I have Jolicloud on my netbook and decided to buy a Mac mini to replace my HP Pavilion notebook. Here's the problem.
I downloaded the .iso, made a bootable USB, and my notebook is stuck at the orange/white dots thing ._.
Now... what's wrong?
View 5 Replies
View Related
Jun 16, 2010
I just received a band new DELL laptop with a blank disk and installed Kubuntu Lucid Alternate 64 on it. No problem during install (the only option I specified was for an encrypted LVM), but when I try to boot all I can see are colored lines scrolling/blinking on the screen. If I press any key it changes to white text (unreadable) scrolling/blinking.
If I press a key during the boot and get into grub, I cannot edit the boot options, cannot go to command line, cannot use MemTest86 (maybe because the partition is encrypted). Booting with the recovery mode shows the same lines. Edit: if I try to boot with the standard LiveCD, I get the same mess, so it's abviously a video card problem. Damn, I had checked beforehand that Ubuntu could run smoothly on it.
View 9 Replies
View Related