Ubuntu Installation :: Using Dd To Copy A Whole Harddisk?
Jan 20, 2011
I'm going to replace the primary hdd of my box with another one of a different manufacturer, but of the same size (long story, never mind)
My current plan so I won't have to reinstall my system is booting from a Ubuntu CD (or USB stick, whatever) and doing
Code:
dd if=/dev/sda of=/dev/sdb
(If sdb happens to be a few megabytes smaller it doesn't matter, the last partition is not important)
Now my questions:
1. Is this going to work? Is it a bad idea?
2. Should I use any parameters for dd, for performance? Like setting bs (or something) to a bit smaller than the both HDD's (equal) cache size?
If that matters, the hdd contains both NTFS, ext3/4 and reiserfs partitions. I use grub to boot Ubuntu, WinXP and Win7.
View 5 Replies
ADVERTISEMENT
Mar 8, 2010
I have just reinstalled Centos 5.3 on a new harddisk. I would like to copy some files from another harddisk which is also install with Centos 5.3. I have followed some guide in the internet but failed to mount the old harddisk. I got "unknown filesystem type 'lvm2pv'" error when trying to mount /dev/sdb2.
Details:
View 5 Replies
View Related
Oct 7, 2009
I am using virtualbox to run windows xp.is there a way to access the harddisk occupied by linux and copy the information to the virtual memory in windows xp
View 3 Replies
View Related
Jun 18, 2011
how can I clone my installed ubuntu to a new harddisk? with 32bit ubuntu I have used:tar cvpzf -> create a tar file on my external nas system. after that I have done a restore tar xvpfz - worked with 32 bit.
Alternative I have mounted both disks and via another linux partition I have used:
cp -rvbdR /source/* /target
both methodes worked with ubuntu 32 bit. With 64 bit ubuntu I can NOT get it to work. error message after booting the clone: /var/lib/gdm/.ICEauthoriy ..
I can see that /source/var/lib/gdm has different rights as /target - will be part of the problem.
This did not happen with the 32 bit ubuntu - but why ?
View 3 Replies
View Related
Jan 26, 2011
I have just installed ubuntu 10.10. I had about 270Gib available free to install ubuntu 10.10 on, but after the installation I can see only 141Gib ? how can I get the rest of the free harddisk ?
View 7 Replies
View Related
Jun 3, 2011
I would like to install ubuntu 10.04.2 LTS in my desktop-pc. It boots, I select time zone and keyboard layout, but then it could not see my hard disk, so i cant go further.
But i can see the disk in console while typing:
Code:
# sudo fdisk -l /dev/sda
and I can also make changes in disk such as deleting all partions etc.
View 3 Replies
View Related
Jan 27, 2010
I have a single SATA hard drive, not raided, with an XP partition on it. /dev/sda. I've already created an 18GB ext4 partition for Ubuntu and 2gb swap partition as well. For some ridiculous reason the Ubuntu 9.10 isn't even showing /dev/sda as an option to install to!
fdisk -l clearly shows /dev/sda there, and i gparted /dev/sda works like a charm. So why is the installer being so silly and not even allowing me to select it? And I can't go back and choose manual mode or anything, the installer jumps right from Timezone Settins into this partitioner screen. Here is a screenshot of fdisk -l clearly seeing the drive fine, yet the installer not showing it at all. This is one of the things that drives people away from Linux.. It never TELLS you what the problem is
View 2 Replies
View Related
Apr 9, 2010
I have just got a new external harddisk. I used it strait in window I copy some files on it. without formating it. Now when I use ubuntu it said that it is total only 10Giga, but the external harddisk is 1000 Giga. How come ? is htis because it has to be formated before ubuntu se the total size ?
View 2 Replies
View Related
May 5, 2011
my hard disk is 320gb and i think i made a mistake while booting ubuntu ,since it is showing only 100gb space .
View 4 Replies
View Related
Apr 7, 2010
I use dual booting, vista ubuntu 9.10. I have just bought a new 1T external harddisk i have used it on windows to backup some files. Now I want to backup some documents in ubuntu, but the harddisk is not visible, I can't see it, ok I think the term in Linux is that it is not mounted. Is there something else one should do ?
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf959a599
[Code]...
View 4 Replies
View Related
Apr 8, 2010
I tough that my computer could not mount external harddisk.Here is my mail about that subject.I use dual booting, vista ubuntu 9.10.I have just bought a new 1T external harddisk i have used it on windows to backup some files.Now I want to backup some documents in ubuntu, but the harddisk is not visible, I can't see it, ok I think the term in Linux is that it is not mounted..Disk /dev/sda: 640.1 GB, 640135028736 bytes255 heads, 63 sectors/track, 77825 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0xf959a599
Device Boot Start End Blocks Id System
/dev/sda1 1 1176 9437184 27 Unknown
/dev/sda2 * 1176 52188 409761792 7 HPFS/NTFS
/dev/sda3 52188 77826 205930496 7 HPFS/NTFS
View 1 Replies
View Related
May 7, 2010
I want to install Fedora Core-3 on Dell Optiplex 755 machine but when I am trying to install it, it is not detecting the hard-drive and unable to install it. When I tried to install Windows Xp, no problem for it and installed successfully.
My harddisk is WDC WD800JD-75MSA3 (80 GB).
View 6 Replies
View Related
Jan 27, 2011
I want to resize my harddisk partition to make it bigger is there a console commands to do this ? I have some free harddisk that I want to ubuntu to use, I have hear that one can use Gpart, but is it also possible achieve the same by using some commands ?
View 4 Replies
View Related
Feb 14, 2011
Can I used an external harddisk to install program like Netbeans ? eclipse ? or a database?
View 1 Replies
View Related
Dec 9, 2009
I got these when i try to install Fedora 12 from harddisk using grub4dos.
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue
Boot has failed, sleeping forever.
View 4 Replies
View Related
Nov 19, 2009
I have an acer aspire L-5100 with Vista and fedora dual boot configuration. Fedora 11 worked fine. After upgrading with preupgrade The system shows a strange behaviour. The startup screen ( with no the little f in the first ) is first blue with the white place in the middle , the filling with the fedora f very slow ( 5 minutes ) and then nothing. No harddisk or network activity no booting. <ctrl><alt><delete> works for rebooting. <altfx> for console not. Hacking <alt f2><esc> very often and fast leads sometimes to a console where then the boot process starts running and the system comes up with gnome.
View 5 Replies
View Related
May 12, 2010
I just install a new 640GB harddisk and when i check its properties it shows 30GB in used, 556.8GB free, and total capacity of 586.8GB. The filesystem is ext3/ext4. So much amount of space is gone for no reason.
View 4 Replies
View Related
Nov 14, 2010
I have a Dell Vostro with sda and sdb (the latter was installed by myself). I installed FC14 x86 64 onto sdb with /boot being on /dev/sdb8
I did not want to install grub onto /dev/sda as this is a shared machine. I thought that I would be able to use the BIOS's 'select boot device' to select the sdb disk and boot off that and get into FC that way.
fdisk verifies that /dev/sdb8 is marked as bootable and grub (via find /grub/stage1) confirms that it is installed on hd1,7 (ie /dev/sdb8)
However, no matter which hd is choosen as the boot device, Windows is always booted - I change the boot order to use: DVD, sdb, sda but it still boots Windows. It seems like the BIOS only wants to boot sda no matter what.
View 8 Replies
View Related
Jan 30, 2010
I installed ubuntu 9.10/9.04 on my usb key as live image couple of time. I have trouble when I try to install wine on my usb key. I am wondering what is the difference if I install my ubuntu into my usb key directly? will that be slower compared with live CD mode? I guess live CD mode may use memory as part of harddisk to save temepory files and normal usb linux installation won't do this for me. Is this true?
If so, do I have a choice to point my tmp directory to system memory area?
View 1 Replies
View Related
Sep 19, 2010
Is there any way to secure harddisk accessbility ? i want encrypt my hard disk, and partitions that ubuntu installed on that. is there a way ? i want deny all access to hard disk, just my own root account can have access to all.
View 9 Replies
View Related
Nov 10, 2010
I just bought a wd 2tb hdd for my media files and documents, what format should it be? ntfs or ext 4?
View 3 Replies
View Related
Feb 17, 2011
I'm running ubuntu 10.10 on my Toshiba Satellite L645 laptop. Few hours ago, when my laptop was in screensaver mode, i couldn't login again, it was just blank black screen So i switch to terminal 1 by pressing Ctrl + Alt + F1 and login from there. Then i restarted by "sudo shutdown -r now". I did this a few times before and it's no problem. However, this time when the computer boot, I got the errors like :
---many similar errors like the following line---
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init=bootarg
and redirected to <initramfs> prompt
So i googled and tried the liveCD and try to fix the hard drive with fsck. My partition resides on /dev/sda1 and using ext4
[Code]...
That's 3 blocks of information i got by following instructions on the IRC channel. I just forgot to paste the first command and now can't remember what it is
View 2 Replies
View Related
Apr 28, 2011
I have a hardisk (seagte,80gb).I installed windows xp professional(60gb space) & Ubuntu 10.04(13 gb space)...Once a time i was in windows xp.after sometime it hanged.after waiting sometime. i press the key of reboot.after that one messege appeared "please select proper boot device & rebbot."then i went to my BIOS settings there i could not find my hardisk.I thought there is a bad sector in my harddisk.I went service center with my hardisk.After testing my hardisk they said no fault found.then I again installed XP & ubuntu & also replaced the hardisk cable.then after some day days I was on ubuntu.same thing occured(my pc getting hanged).& after rebooting manually my hardisk is not detecting...I am not clear..whatis the actual problem of my pc.
View 1 Replies
View Related
Oct 8, 2010
I am having difficulty installing Ubuntu on a new PC. Hardware is thus:MB: ASUS M4N68T-MCPU AMD Phenom II 3.2 GHzMem: Kingston 2GB DDR3-1800HDD: Seagate Barracuda 80 GB SATAvideo is on-board, cannot find the details regarding chipset.I have tried both 7.10 and 10.10 (would prefer to use 7.10) but both versions hang at the same point during installation.Live mode works fine on both versions.Tried burning 7.10 to CD at 4x write speed.Set MB bios "Plug and Play OS" to yes.When it hangs, the mouse freezes, then the video wigs out (think Van Gogh on acid) and only a hard power down will un-freeze it.
View 4 Replies
View Related
Feb 28, 2011
I've just installed Ubuntu with advanced partitions. I'm not able to view my secondary disc space. I've used the command sudo fdisk -l
and this is what I got
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[Code].....
View 9 Replies
View Related
Mar 22, 2011
I decided to go for an encrypted home folder. It's really really cool that ubuntu offers the encryption now out of the box!
However it auto generated a password for the encryption for me. While the password might be safe, it is impossible for me to remember. And writing it down on a piece of paper, which I would then carry around along with my laptop seems to make the whole encryption obsolete...
Long story short: Can you pinpoint me on how to change the encryption password?
View 1 Replies
View Related
Aug 12, 2011
I want to get a program to check (a) hard disk and (b) file integrity. I have had a file - ODS spreadsheet accessed using LibreOffice - that appears corrupt. I have drilled down and down and eventually identified a corrupt component image inserted in a sheet.
The error that is thrown by LO is a "Error saving
the document FILE: Write Error. The file could not be written."
error. The thread can be read here... http://thread.gmane.org/gmane.comp.d...fice.user/9266.
What has confused me is that my machine can not save the file once a sheet is deleted. It is specific to a particular file. The file is stored on n ext4 disk mounted by fstab. I also share the file using samba. Regardless of how I access this file I get the error. If however, I access the exact same file using OpenOffice 3.1.0 OOO310m11 (Build: 9399) from an old Windows Vista Tablet and I can manipulate the file successfully - no error is encountered. I can also access the same file from another Ubuntu machine via NFS and Samba and both work. I am confused. I am beginning to think my disk is damaged or something. How do you check hard disks to verify that the disk surface is intact, and that the expected file sum value matches the value stored in the Linux equivalent to the FAT table.
I am using Ubuntu 10.04 LTS and all hard disks are formated with ext4. All formatting and management of the disks have been done using the 'Disk Utility' in the System > Administration' menu. If I look in gparted it will not check the disk the file is on stating "eslabel: no such file or directory... couldn't find valid filesystem superblock...". The filesystem mounts OK however without any errors. Another harddisk on the same system currently being used for backup does not even have the menu option for checking the disk highlighted.
What is the best way of verifying the integrity of the filesystem, actual files and the underlying physical media? I should point out it is only this single file that currently displays any issues. I either have a damaged disk, corrupt file or LibreOffice has a very peculiar bug that only appears in a unique combination of events just on my machine. As part of my investigations I have been updating ubuntu, reinstalled LibreOffice from their website and checked all dependencies have been met.
View 3 Replies
View Related
Jun 20, 2011
I just bought a western digital of 3 TB. Unfortunately Gparted gives error. Gparted can create a about 2TB+1TB, but when it is the whole disk, it does not work.
I tried JFS and EXT4.
My kernel is code...
View 3 Replies
View Related
Jun 6, 2010
I have a 60GB hardisk, and try to install CENOS 5.5 HEL5.5 and Fedora13 on it. I partitioned the harddisk to 4 primary partitions like below:
Partition MountPoint Type
sda1 /boot ext3
sda2 VGRHEL LVM PV
sda3 VGCENT LVM PV
sda4 VGFEDORA LVM PV
I created 3 Volume Groups as you see up: VGRHEL, VGCENT, VGFEDORA; under every VG, i created 2 logical volumes ,just like below: VGRHEL=LVRHEL00(swap) + LVRHEL01(MountPoint: /) Below VG try to partition them the same as VGRHEL too. VGCENT=LVCEN00(swap) + LVCEN01(MountPoint: /) VGFEDORA=LVFEDORA00(swap) + LVFEDORA01(MountPoint: /)
I successed installed RHEL5.5 on VGRHEL, but when i try to use the same way to install CentOS 5.5, i got below error infromation: "Bootable Partitions cannot be on a logical volume" I don't why this happened, VGRHEL has logical volume too, but why i can install RHEL on it successfully.
View 13 Replies
View Related
Mar 12, 2010
I have a new Ultra 27 running debian and i cannot see the second internal harddisk any ideas what to do to rectify this.
View 4 Replies
View Related