LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-01-2009, 10:43 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Restored Partimage image on a larger partition, problems.


I just got a new laptop hard drive for Christmas, my father brought home a usb hard drive case to transfer it from work, but it was for IDE drives, and not SATA. So I made images of my Windows and Linux partition, put them on an old IDE drive, switched the SATA drives in my laptop, partitioned the drive, moved the images to the new drive, reinstalled lilo, and I can boot into Linux, but I found two problems.
1) My Windows partition is 45GB, my linux partition is 30GB. That is what I get in parted and fdisk, but if I mount these partitions, df says I have 24 and 11 GB, respectively, which is what I had on my old hard drive.
Is there any way to fix this?

2) Windows won't boot. Not a big problem, but I am assuming that I didn't get the boot record when I copied the image. Is there any way I can have windows re-write it's bootloader to it's partition?
 
Old 01-01-2009, 11:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Romanus81 View Post
1) My Windows partition is 45GB, my linux partition is 30GB. That is what I get in parted and fdisk, but if I mount these partitions, df says I have 24 and 11 GB, respectively, which is what I had on my old hard drive. Is there any way to fix this?
Yes, do the copies over again except this time format the new file systems and copy the files from the old partition to the new partition instead of copying filesystem images.

----------------------
Steve Stites
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM
Partimage can you do two partitions in one image jmfa59 Linux - Newbie 1 11-19-2007 05:19 AM
How to create image using partimage ? m.parthiban Fedora 3 03-26-2006 06:59 AM
Problems accessing restored Mandriva partition image Jongi Mandriva 2 01-13-2006 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration