Ubuntu Installation :: Clone /dev/loop0 Install To A New Partition /dev/sda?
Aug 25, 2011Installed Ubuntu from an iso and now can boot only from /dev/loop0 need to clone this to /dev/sda, is this possible if so what are the commands.
View 9 RepliesInstalled Ubuntu from an iso and now can boot only from /dev/loop0 need to clone this to /dev/sda, is this possible if so what are the commands.
View 9 RepliesTrying to install a newly downloaded DVD image of 11.04 this morning on my T410 LT (4 core/4GB). The image MD5'd okay, burnt it, stuck it in the drive, rebooted, asked me about install lang = english, select install ubuntu, get subject error and it falls into initramfs prompt.So, I put my 10.04 install CD in and guess what, it works!
I will repeat what I have already posted in the another forum, and I understand install is a difficult part of the system, but there is always some glitch or another just trying to start install with ubuntu. Once it runs, if it run, I normally see few other problems after that.
I have a bunch of computers with the same configuration, so I would like to install Ubuntu only to one master computer and later on just copy the partition layout and the filesystem unto other computers. Previously I was able to simply copy the partition layout (via the sfdisk utility), the filesystem (a simple "cp -a") and install Grub (via script). Now I had to use the parted utility to partition the 2TB drive and Grub2 is the default boot loader.
My questions are now:
1. How do I copy the partition layout from /dev/sda (master) to /dev/sdb (clone)?
2. How do I batch install install Grub2 to the other disk (e.g. /dev/sdb) ?
In Grub 0.97 it used to be something like that:
Code:
# GRUB the disk
grub --no-floppy --batch <<EOF_GRUB
root ($GRUB,0)
setup ($GRUB)
quit
EOF_GRUB .....
In Grub 2 I tried with:
Code:
grub-install --force --root-directory=/mnt/sdb1/ /dev/sdb
Only to get this error: .....
The Grub2 syntax is way different compared to Grub0.97. Yes, I do could use the Grub2-suggested option but since the partition layouts on both partitions are equal, I see little point in setting the BIOS Boot Partition option, since the master computer works without it and I don't remember any error message during the install.
I have had a dual boot on my system since first trying Ubuntu a few months ago.I had a few problems when i upgraded to 11.04 (mainly due to the new desktop Unity), but after some great help here, we had the old desktop running again.I have Windows running on my spare Computer in case i should need it for any reason, though can not think of one lol Now i am used to Ubuntu (from the using side, get lost in terminal etc so here i come if i need help) i decided i would totally commit my main computer to Ubuntu.I downloaded the latest iso from the Ubuntu site, and burnt it to CD, inserted in my main computer & rebooted. It goes past the first purple ubuntu page (hit a key to choose language & also get a selection Menu) then goes to black screen and i get:
BusyBox v1.17.1 (ubuntu 1:1.17.1-10ubuntu1) built-in shell (ash)Enter 'help' for a list of built-in commands.(initramfs) mount: mounting /dev/loop0 on //silesystem.squashfs failed: Input/output errorCan not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs(hope i typed that i correctly)I have burnt the iso image numerous times, using different disks, speed (from x4 - x52) and burning programs
I have a very specific issue that I am having trouble resolving. I have an old laptop and a new laptop with a smaller HDD. I want to copy the windows partition from the new lappy to the old bigger HDD so I have room for Ubuntu. All of my files are on a Maverick install on the old lappy. How can I get all my files and windows to the old HDD and into the new laptop. I am a little stuck on this one because of my limited options.
View 8 Replies View RelatedI'd like to clone a partition, and then restore it to a logical volume. I have all three operating systems at my disposal (Mac, Windows, Linux Live CD) What is the best way to achieve this. The partition I am trying to resize is only 200MB, so I can store it on usb if need be.
View 9 Replies View RelatedIs there any software to clone Linux partition? No matter they are paid or free software, I'll need them. The problem is that if I clone a linux partition to a bigger or smaller partition size, it will crash.
View 6 Replies View RelatedMy wife's laptop has XP on it, I installed Ubuntu using wubi apparently. I thought I had made a separate partition and made a true dual boot system but I guess I didn't. Is there a way to clone the wubi install to it's own partition and add the boot loader after or am I going to have to do a fresh install and set everything up again? I am surprised that she has taken to Ubuntu as well as she has, I thought she would hate it but she actually prefers it to windows now..
View 2 Replies View RelatedI'm new to fedora (still trying it out) but have many years of experience on other distributions -- mostly gentoo. Anyway, I'm wondering if someone can tell me what all is needed to clone a fedora install. I cloned the partitions, updated fstab with real device node entries (removed all the UUID stuff), and modified grub.conf with the same changes (as well as all the normal/misc changes needed in /etc for things like hostname, network, ethx naming, etc). However when I try to boot it complains that it cant find the old UUID.
I thought this might be specified in the initrd but I uncompressed it and couldn't find any reference to the uuid anywhere. Where does fedora keep this UUID information at? Right now I'm just trying to clone a mythdora box to another one but in the past I've configured a single gentoo install and cloned it on dozens of other computers.
How can I increase the size of a server partition as /dev/loop0
Disk informationDeviceMount pointUsage
/dev/loop0/var/tmp2% (11,070 of 495,844)
/dev/sda1/46% (100,819,056 of 233,872,292)
/usr/tmpDSK/tmp3% (11,070 of 495,844)
I use
WHM 11.30.1 (build 4)
CENTOS 5.6 i686 standard on ds-59085
I just dl'ed and burnt a 10.04 ubuntu disk (using infra recorder), and popped it in, the ubuntu load screen showed and progress got nearly done then a message shows:
"(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed: input/output error.
Can not mount /dev/loop0 (cdrom/casperfilesystem.squashfs) on //filesystem.squashfs."
EDIT: I did have a 9.1 disc somewhere that did work OK before now (but lost is )
I'm having troubles installing ubuntu on my "Acer one 522" netbook, I have made a pendrive with unetbootin and ubuntu 11.04 natty and upon booting into the usb i get the boot loader displayed properly, start to load ubuntu, then about halfway through i get some screen tearing with a really small shot of the boot loader screen in the top left hand corner followed by some command lines saying "cannot mount /dev/loop0 :invalid argument".
View 1 Replies View RelatedI'm using dd to clone a Windows Vista hard drive and recovery partition with zero luck. I duplicated the partitions with gparted then used dd to copy each partition and then the master boot record. Nothing............. no boot.
Code:
dd if=/dev/sdb1 of=/dev/sda1
Code:
dd if=/dev/sdb2 of=/dev/sda2
Code:
dd if=/dev/sdb of=/sda bs=512 count=1
Is there a way to clone a partition (40GB) and put it on another partition (on a another hdd) with the size of 20GB? The partition that is cloned is using only 3 GB of 40 GB.
View 2 Replies View RelatedThe trouble I'm having is that when I load a bootable USB/CD of 64bit 10.10, I always get an error that looks a little like: "(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed: input/output error. Can not mount /dev/loop0 (cdrom/casperfilesystem.squashfs) on //filesystem.squashfs." I've done some googling and I've noticed people have had the same problem. They say the alternate downloads could be the problem, or the CD, and that I should use the UNetbootin application. I guess I should start with describing my build:
[code]....
I've tried:
1. Going to the DL page, DLing 64bit 10.10, and mounting the image to create a bootable CD (by the procedure offered on the DL page).
2. Using Unetbootin to create a bootable USB (this I did multiple tmes, with different versions: 10.10 64bit desktop, 10.04 64 bit desktop, and I'm about to try another DL except I forgot which one I'm using, but I'll find out in a bit )..........
xubuntu iso was downloaded with wget on Kubuntu, I did a md5sum checksum in terminal which passed, also K3b's check passed. K3b burned iso with no errors, I set speed at 4x. I made two coasters before getting this far but it still won't get past the BusyBox built-in shell prompt after choosing my language and staring at the xfce mouse for a minute:
Code:
BusyBox v15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
(initramfs) Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs
is what I get when trying to boot live cd on both my Linux PC and Windows XP box.
I am looking for Backup Program to clone the partition of Ubuntu.
View 7 Replies View RelatedI upgraded 9.10 to 10.04 via the web. The program announced it would take several hours, and when I came back to check, computer was off (kids?). Anyway, machine boots and 10.04 starts, but then blinks a few times and goes to a prompt. What should I tell it?
I have a 10.04 disc too, but it won't run from that either (Cannot mount dev/loop0 on filesystem.squashfs failed). Same message when I tried to start a nearby Windows machine with it. Disc "verified" when I made it. What's with that?
I am trying to clone a HDD which has Windows Vista installed. There are two patitions in in:
9.3GB EISA Configuration
65GB NTFS (the C: drive as windows calls it)
I am going to clone the entire hard disk with clonezilla, I am not sure what the EISA partition is and if it can be cloned(then restored) using clonezilla. I did google it, its probably some kind of a recovery partition of some sort.
i want clone my linux partition for create a backup. i want use dd command but i have some question.my linux partition is 30GB and linux only used 10GB of it if i use dd command for create a image i must have 30GB free space? can i use dd command in X window or i must first exit from linux and use live cd? in fedora i use dd command for create a backup when linux is running but after restore some command like su not work!!!
i use some tools like partimage for make a backup but it show me an error about block 0!!
my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10, but after we order the boot we got a loading screen for ubuntu then this error appeared
Quote: busybox v1.15.3 ( ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) enter 'help' for a list of built-in commands. (initramfs) stdin :I/O error mount: mounting /dev/loop0 on //filesystem.squashfs faild: no such device can not mount /dev/loop0 (/cdrom/casper filesystem.squashfs) on //filesystem.squashfs udevd[75]: worker [171] unexpectedly returned with status 0x0100 udevd[75]: worker [171] failed while handling ' /devices/virtual/block/loop0'
i change the cd to another one but an error was changed to :.............
I decided to clone my OS partition to another hard drive using dd (without any special options). I created the target partition before cloning (25GB) but it shows up as 21GB (source/original partition's size) in df, as well as ext2 instead of ext4.
View 2 Replies View RelatedSo i insert the ubuntu 10.10 in the dvd and boot it. The menu comes up and i choose to install ubuntu. After that it shows some black screens and this error:
(initramfs)mount:mounting/dev/loop0 on//filesystem.squashfs failed: Input/output error cannot mount /dev/loop0(/cdrom/casper/filesystem.squashfs)on//filesystem.squashfs
The disc aint scratched. I tried installing from Windows but i got another error.
And for some odd reason Ic ant make a removable startup disk:
my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10 ,but after we order the boot we got a loading screen for ubuntu then this error appeared
[code]...
also , the labtop cannot boot from usb coz no option for that in BIOS. what can i do to solve each problems?
I have ubuntu 10.10 installed on 1TB HD. I would like to back up the full hd, on a 2TB usb HD I have. I would like an easy way to clone/backup the full installation, so if my hd fails I would be able to book the usb hd to get files or do a full reinstall. I have tried dd, but not certain if it worked correctly.Also tried clonezilla and that did not work
View 6 Replies View RelatedI have just clone from my previous IDE hard disk to a bigger IDE hard disk with clonezilla. However, when I boot my system with the new hard disk using the installation disk, it says an error that "no linux partition found on hard disk".
View 4 Replies View Relatedfirst step did
Code: git clone git://deadbeef.git.sourceforge.net/gitroot/deadbeef/deadbeef. which gives me a deadbeef folder in my home folder with latest version therein next steps are
Code:
./autogen.sh
./configure
make
sudo make install i installed automake all six versions in the synaptic as some are different as to what they can do
[Code]...
I have Ubuntu 10.04 installed in my desktop and is working fine. I would like to clone the Ubuntu with all my settings etc to a USB Flsah drive so that I can take it with me during travel.I don't want to reinstall in USB FLASH rather I want asis Desktop Ubuntu in USB FLASH.
View 1 Replies View RelatedWhat's the best way to transfer across one hdd to another? I want to avoid setting up my kubuntu 10.10 instance again and hoping there's a way to easily clone it across.
View 2 Replies View RelatedI am having a problem logging into the GUI after I cloned this system from another drive. System A and System B are essentially identical except for hostname, IP, and some nfs mappings. System B's HD went bad. I bought a new drive of the same size, but Western Digital instead of Samsung. I used CloneZilla to copy all of System A's drive to the new System B's drive. I mounted the drive into System B, booted with a SUSE 11.4 Live CD, and edited fstab and menu.lst to reflect the ID of the new drive. Everything works well until it gets to the graphical log in screen. I can't log in as either the user or root, however if I change the session type to "console", I can log in just fine.
View 9 Replies View Related