Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: tripple aught on January 26, 2015, 04:19:40 PM

Title: [SOLVED] Transfer LL from laptop to desktop w/ win7 sp1 (side-by-side)
Post by: tripple aught on January 26, 2015, 04:19:40 PM
Hi... After much searching, can't find info on how to transfer without losing LL setup.

Have LL iso boot disk.

Know how to do the install on desktop, but need to know how to move LL setup from laptop.

Please point me to article / blog / thread (if there is one)... or advise.

Thanks, Lester
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: bitsnpcs on January 26, 2015, 05:10:59 PM
Hello Lester,

here is a discussion about backups with links to software various members use for this

https://www.linuxliteos.com/forums/index.php?topic=917.msg6779#msg6779 (https://www.linuxliteos.com/forums/index.php?topic=917.msg6779#msg6779)


Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 26, 2015, 09:04:30 PM
Hi... After much searching, can't find info on how to transfer without losing LL setup.

... need to know how to move LL setup from laptop.

What exactly do you mean by "move LL setup from laptop" to the desktop?

Are you planning to just take the hard drive from laptop and add it to the desktop?  If so, then very easy.  Just add the drive to the desktop, go into Bios and change boot order to boot from LL drive instead of the Windows drive, then just run this command in a terminal to add Windows to the LL boot menu:
Code: [Select]
sudo update-grub
That's it -- done!
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on January 27, 2015, 12:20:45 AM
Hello!

To do what you suggest will take a good bit of work to pull off, but it is possible. You could defrag the Windows drive, free up the space you'll need on the Windows drive using an LL LiveCD and GPartEd, shrink what's on your lappy's HD to fit inside the space you freed up on the Windows box (if it's larger, that is), install LL on the Windows box, use Clonezilla to copy your current setup to the Windows box, and if something won't boot afterwards, use boot-repair from a LiveCD to fix GRUB.

Sorry for not providing specific step-by-step instructions right now, but if you're interested in going to all that much trouble, ask, and we'll tell you how to pull it off in more detail...

73 DE N4RPS
Rob


Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 27, 2015, 03:48:48 PM
Thanks for your replies....

  In doing research on your suggestions, I came to the conclusion that 'KNOWLEDGE IS POWER BUT INFORMATION IS CONFUSING' !

   So I decided to put LL on the desktop (side by side with Win 7) by using the ' live LL install disk' and do all the set-up broo-ha-ha that I did on the laptop ONLY TO DISCOVER that for some reason this lenovo M58 desktop with pre-configured Win 7 SP1 will not show the Win 7 OS when I run the INSTALL program. I get a blank 'Install - Installation Type' screen.

     With the 'live' CD running GParted  I see                    /dev/sda
     /dev/sda1 -  System (boot & diag) 3.15GB of 3.75GB
     /dev/sda2 -  Windows  21.93GB of 70.78GB
      unallocated - none of 1.09MB

How can this be ? Why would GParted see the OS system live and not during the install ?

   Rob, I was trying to follow your paragraph 1 instructions (similar to install in the manual). 73s N5EDX

Do I start a new thread on this situation or can we stay here? There 'aught aught aught' to be a way to make

this work.

Thanks again for suggestions,
Lester
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on January 27, 2015, 08:34:38 PM
Hello!

Like I said, it is possible, but somewhat labor-intensive. Yes, all this IS confusing, and even more so for me to try and explain it all in a form that most people will understand. I'm just glad that gold_finger has done such a good job at getting some of it incorporated into the user manual.

On the desktop, it looks like you're working with an 80 GB drive here that has not yet had its Windows partition reduced in size to make room for Linux Lite, as you seem to have very little unallocated space to work with.

If you haven't done so already, start by running Disk Defragmenter in Windows 7, to congregate the data so that changes can be made safely. After that, if you can, back up the ENTIRE desktop drive.

You can use with Redo Backup, which boots from its own LiveCD or LiveUSB. This will give you an exact copy of what you had, so you can restore it if something goes haywire on you.

Afterwards, boot the desktop into LL using a LiveCD/LiveUSB, then use 'Partition Drives' (GPartEd) in the System Menu on the LiveCD to make enough allocated space to hold a Linux Lite system. We'll proceed further from there.

The most difficult decision will be how much space you want to leave behind for Windows 7, and how much you want for LL. IMHO, 80 GB is a little small for a shared system.

I'd try all this on a new, bigger drive. Then, you will have the original intact, in case something goes haywire. But then again, that's just my opinion...

73 DE N4RPS
Rob
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 27, 2015, 09:19:14 PM
So I decided to put LL on the desktop (side by side with Win 7) by using the ' live LL install disk' and do all the set-up broo-ha-ha that I did on the laptop ONLY TO DISCOVER that for some reason this lenovo M58 desktop with pre-configured Win 7 SP1 will not show the Win 7 OS when I run the INSTALL program. I get a blank 'Install - Installation Type' screen.

If the installer's partitioning program does not "see" that Windows partitions are on the drive when you try again, cancel the installation and see this tutorial:  HowTo: Use Fixparts (http://forums.linuxmint.com/viewtopic.php?f=42&t=171050&p=879010#p879010).  In your case, your drive is definitely using MBR partitions so you can skip over the warning at the beginning of tutorial and go straight to "Now you're ready to begin the fix".
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 28, 2015, 03:04:42 AM
Rob -

Got the backup done using 'Redo'. Everything worked.

gold_finger -

Tried the Fixparts first after backup...got error message "ERROR: WRONG ARCHITECTURE 'AMD64'(I know my system is 64)  sooooo....

I aborted... back to using Live LL disk and GPartEd.

Rob the live GPartEd is a little different from the 'install'. I didn't know whether to click the 'Device tab' or the 'Partition tab' to get to the part where I can move the partition for resizing.

I aborted.... I remember reading about not creating a partition when resizing... and I wasn't sure where we were headed with this AND since I'm taking baby steps here... and here... I thought that I aught aught aught to wait to hear from you guys again...

I know what it's like to train a newbee and I want you fellas to know that I really admire your patience. I consider myself a quick study, BUT I'm also very cautious when treading in unknown territory. 
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 28, 2015, 08:15:43 AM
I know what it's like to train a newbee and I want you fellas to know that I really admire your patience. I consider myself a quick study, BUT I'm also very cautious when treading in unknown territory.

That's a good thing.  Better safe than sorry.



Tried the Fixparts first after backup...got error message "ERROR: WRONG ARCHITECTURE 'AMD64'(I know my system is 64)

Computer may be 64-bit capable, but you need to use version of FixParts that corresponds to the version of LL on the live DVD/USB you're using.  Sounds like you've got 32-bit version of LL and tried to install 64-bit Fixparts to it.



Rob the live GPartEd is a little different from the 'install'. I didn't know whether to click the 'Device tab' or the 'Partition tab' to get to the part where I can move the partition for resizing.

I aborted.... I remember reading about not creating a partition when resizing... and I wasn't sure where we were headed with this

Don't know how long it will be before Rob signs in again, so I'll go ahead and answer this too.  (He may chime in later.)

I'll answer how to use GParted for this below, but it would probably be better to resize your Windows partition from within Windows disk management instead -- less chance for corruption of the file system that way.  (I've used GParted in past to shrink Windows partitions without any problems, but as a general rule it's best to use Windows tools to adjust Windows partitions whenever possible.)  So after you've defragmented the drive, just shrink the partition (probably "C:/ drive") from within Win disk manager.  Then reboot once more into Windows to make sure everything still works and let it make any necessary adjustments to new size.  (If you end up using GParted, reboot into Windows once for this reason also.)  Then proceed to reboot with your live LL disk and install.

To do resize with GParted, highlight the partition you're going to resize, click "Resize/Move" button, grab right end of partition with your mouse and pull it to left to resize (make sure you leave some room for Windows to grow).  Hit "Apply" button when you've got it sized the way you want.  (You were right to stay away from "Device" tab.  Whatever you do, do not ever click Device -> Create Partition Table unless you want to wipe out the whole drive.)

(https://i.imgur.com/am5GhWV.png)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on January 28, 2015, 02:51:00 PM
I tried out redo for curiosity  and failed!

I backed up a 20 GB Lite partition on my internal 1 TB drive(sdb1) and tried to install it on a 20GB partition on a 250GB external drive(sdb2)

When it asked for a drive to reinstall to and I pointed at sdb2 it threw an error that the drive is smaller than the original.

I would expect an error if the partition was smaller but not the drive.

I don't think it will work for you but!"

I've just used saline-backup to save an ISO type image to a backup file, I then booted the Lite DVD in another machine.

I then installed saline-backup, ran it and restored the backup image to the new machine with a windows install already on it'

During the install it looked at the new HDD and wrote the new grub to the MBR so that on rebooting I could boot into windows or LL.

I'm doing a video of installing/using saline-backup at the moment, I'll then make a post with links to the video and files but I want to use a bog standard new install of LL in the videos.

Check these videos out but the new ones will be shorter.
Creating a backup image https://www.youtube.com/watch?v=27uXXnM1rVg (https://www.youtube.com/watch?v=27uXXnM1rVg)
Installing the image https://www.youtube.com/watch?v=lcSA3xk7zxA (https://www.youtube.com/watch?v=lcSA3xk7zxA)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: altman on January 28, 2015, 03:44:49 PM
Got tone question ukbrian , How To burn this to iso for future backup or clone the install to another computer . If it can be done , never been able to burn a full iso install that worked yet on iso .
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 28, 2015, 04:14:23 PM
gold_finger

Tried the Fixparts first after backup...got error message "ERROR: WRONG ARCHITECTURE 'AMD64'(I know my system is 64)

Computer may be 64-bit capable, but you need to use version of FixParts that corresponds to the version of LL on the live DVD/USB you're using.  Sounds like you've got 32-bit version of LL and tried to install 64-bit Fixparts to it.


So I had a BFO (Brilliant Flash Of the Obvious)
 >The LL live boot disk I made was for the laptop 32 bit.
 > Made LL live boot disk in 64 bit.
 > Tried Fixparts again. It ran this time - it didn't ask me anything - it closed. I'm thinking that since the desktop only has a stand-alone /sda is the reason for this behavior. ?
 > Booted again in Windows... ok
 > Put 64 LL live in desktop - booted live.
 > Still see /sda with System GPartEd - nada, nitch, nil with Install GPartEd.
 > Will do the resizing routine you advised and post later.
Thanks


Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on January 28, 2015, 04:42:31 PM
@altman
I've been using Debian stable for the last few years so I could use Refracta a Remastersys type app and it also worked on Mint but with the systemd changes to the boot process it don't work any more so creating ISO's is out.

They are developing it for the Debian stable "Jessie" which I hope will work.

I just downloaded the latest Ubuntu alpha to give it a try, not had time yet.

All I can say is check out "saline-backup" the developer wrote it for his own backup needs after he rewrote the GUI's for creating snapshots and installing using the Remastersys method as
he used Remastersys to write his release ISO's and he wanted a simple to use installer.

Sorry I'm not very clear but I'm a 72 YO semi-literate yokel who simply can't understand manuals RTFM LOL
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: altman on January 28, 2015, 04:49:22 PM
Hey thanx for the comeback ukbrian , no worries , I ll find a way one day ! lol

Tried lots of apps to no avail up to now .

I tought that Saline was discountinued !
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 28, 2015, 06:48:41 PM
So I had a BFO (Brilliant Flash Of the Obvious)
 >The LL live boot disk I made was for the laptop 32 bit.
 > Made LL live boot disk in 64 bit.
 > Tried Fixparts again. It ran this time - it didn't ask me anything - it closed. I'm thinking that since the desktop only has a stand-alone /sda is the reason for this behavior. ?

If FixParts didn't find any stray GPT data, then apparently that wasn't the problem and you did right thing to close out of it.  We're probably missing something simple here, but I'm not sure what that is yet.


So I had a BFO (Brilliant Flash Of the Obvious)
 >Still see /sda with System GPartEd - nada, nitch, nil with Install GPartEd.

Doesn't make a whole lot of sense.  Are you choosing the "Something else" installation type and then seeing the blank partitioning screen?  My last guess is that you're doing that, but maybe it shows up blank because the shrink hasn't been done yet -- therefore it doesn't see anywhere available to install to and just shows a blank screen.  (Purely a guess -- I've not done a side by side install without first preparing partitions, so not sure how installer reacts when doing what I just described.)  If guess is right, then as soon as you shrink the Windows "C:drive" partition and have unallocated space on the drive big enough to install to, your problem may disappear.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on January 29, 2015, 02:15:45 AM
Hello!

It's probably safer and better to use Windows Disk Management - IF it will shrink a partition that is currently in use by Windows.

I tried out redo for curiosity  and failed!

I backed up a 20 GB Lite partition on my internal 1 TB drive(sdb1) and tried to install it on a 20GB partition on a 250GB external drive(sdb2)

When it asked for a drive to reinstall to and I pointed at sdb2 it threw an error that the drive is smaller than the original.

I would expect an error if the partition was smaller but not the drive.

Hello!

That's because, more or less, Redo is designed to back up the entire drive.

When backing up, it records the size of the entire drive. Come restoration time, if the destination drive is smaller than the drive that was backed up, Redo will puke.

I use Clonezilla to back up individual partitions. I'm sure other may have different methods...

73 DE N4RPS
Rob
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on January 29, 2015, 05:13:38 AM
@ N4RPS
That was my conclusion with Redo

I found Clonzilla a bit to complicated for me.

I've seen fsarchiver mentioned but not qt4-fsarchiver a simple GUI front end http://qt4-fsarchiver.sourceforge.net/ (http://qt4-fsarchiver.sourceforge.net/)

It's quick and simple if you are restoring back to the original partition but be aware if you restore to a new partition it restores the original UUID to that partition so you ban end up with 2 identical UUID's on a machine which you can change in gparted and then change the UUID in fstab, it also copies the MBR.

A video I made of qt4-fsarchiver in 2012 https://www.youtube.com/watch?v=oSKjGbLbflU (https://www.youtube.com/watch?v=oSKjGbLbflU)

I did a restore ISO for it for LMDE and 2 years later it was still averaging 50 downloads a month.

@altman
Quote
I thought that SalineOS was discontinued !
Correct, when fragadelic(Remastersys) packed up he moved over to Manjaro.

I still use some of the utilities he developed,  grub-doctor I use a lot, he did do a grub-doctor-uefi version but I've never used that.

grub-doctor video https://www.youtube.com/watch?v=r-YWYwbkeGg (https://www.youtube.com/watch?v=r-YWYwbkeGg)

Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: altman on January 29, 2015, 07:41:39 AM
Thanx for the comeback ukbrian , didn t know fragadelic was with Manjaro afterward .

Might give  qt4-fsarchiver a try .
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on January 29, 2015, 08:00:24 AM
Quote
didn't know fragadelic was with Manjaro afterward
Sorry to mislead you, me and my words.
Anthony Nordquist the former developer of SalineOS moved to Manjaro not fragadelic
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: altman on January 29, 2015, 08:09:06 AM
ah , no worries . Thanx for the comeback mate .
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 29, 2015, 03:18:23 PM
@ gold_finger

> resized C: drive on 80GB desktop
> rebooted in Win 7  - ok
> rebooted with 64 bit LL disk live
> ran >system>Gparted  from Menu
   shows:   /dev/sda1  System  size: 3.75 GB   used: 3.15 GB   unused:618.40 MB Boot/Diag
                /dev/sda2  Win 7 SP 1   size: 39.41 GB   used: 27.70 GB   unused 11.71 GB
                unallocated                   size: 31.37 GB  (where I want LL to be located)

> ran Install
   > selected 'something else'
   > ...... b l a n k  on the install screen ( blank blanked de blank)

> While pondering.... this desktop was a recent refurbished purchace with Win 7 SP1 preinstalled... only reason to keep Win is to read the KINDLE app. I could wipe it, but would rather not.... takes away the challenge.
Thanks
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 29, 2015, 03:23:18 PM
By-the-by

How many posts before I can submit images ?

I have some great screenshots on this ...
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 29, 2015, 03:50:31 PM
How many posts before I can submit images ?

I have some great screenshots on this ...

As far as I know you should be able to do so now.  (Didn't know there was any kind of waiting period.)  Follow instructions on this page to post your screenshots:  https://www.linuxliteos.com/forums/index.php?topic=487.msg2469#msg2469 (https://www.linuxliteos.com/forums/index.php?topic=487.msg2469#msg2469)


@ gold_finger

> resized C: drive on 80GB desktop
> rebooted in Win 7  - ok
> rebooted with 64 bit LL disk live
> ran >system>Gparted  from Menu
   shows:   /dev/sda1  System  size: 3.75 GB   used: 3.15 GB   unused:618.40 MB Boot/Diag
                /dev/sda2  Win 7 SP 1   size: 39.41 GB   used: 27.70 GB   unused 11.71 GB
                unallocated                   size: 31.37 GB  (where I want LL to be located)

> ran Install
   > selected 'something else'
   > ...... b l a n k  on the install screen ( blank blanked de blank)

> While pondering.... this desktop was a recent refurbished purchace with Win 7 SP1 preinstalled... only reason to keep Win is to read the KINDLE app. I could wipe it, but would rather not.... takes away the challenge.
Thanks


Very strange!  Sure sounds to me like it's a drive with stray GPT data on it that FixParts should work on.  Can you try FixParts again just to be sure?

From your live LL, open a terminal and enter:
sudo parted -l
(last character is a lowercase letter "L".)

Copy/Paste the output back here for us to see.

Post a screenshot of GParted window and one of the installer's partitioning window also.

P.s.  You should not need to wipe out Windows to get LL installed, so hold off on that drastic measure.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 29, 2015, 04:29:57 PM
@ gold_finger

This is the terminal command - should it be run again with 'Ignore' ?
(http://file:///home/administrator-1/Desktop/terminal%20screen)

Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 29, 2015, 04:31:21 PM
ooops....

screenshots not appearing .... ?

wait.... this is a copy/paste... standby.....

                                 linux@linux:~$ sudo parted -l
Model: ATA WDC WD800JD-60LS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4030MB  4029MB  primary  ntfs         boot, diag
 2      4030MB  46.3GB  42.3GB  primary  ntfs


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.         
Ignore/Cancel? c                                                         

linux@linux:~$
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 29, 2015, 05:06:22 PM
This is through >system>GParted from Menu

Grrrrr ... not working
(http://i.imgur.com/JbCS71Q.png)

This is through the 'Install' app
(http://i.imgur.com/O9qDlv3.png)



Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on January 30, 2015, 02:08:43 AM
Hello!

You should pretty much see what you see in GPartEd. Are you sure you're working with a good Live CD, as in verifying the MD5 checksum to insure that it downloaded correctly?

73 DE N4RPS
Rob
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on January 30, 2015, 04:15:08 AM
Maybe take a snapshot of your existing windows partitions with http://www.macrium.com/reflectfree.aspx (http://www.macrium.com/reflectfree.aspx) so you have a reverse gear?

Don't forget to create the Linux rescue CD
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 30, 2015, 08:55:20 AM
tripple aught,

Did you try FixParts again or not?  Definitely looks like what is seen with stray GPT data on disk.  If FixParts still doesn't report that as the problem, then I'm stumped.

Do confirm the md5sum of the ISO file you used to create the live LL disk as N4RPS suggested.  Who knows, maybe there's something wrong with it.  If ISO checks out good, then as last resort make another live DVD/USB and see if same thing happens.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 30, 2015, 09:50:54 AM
gold_finger,

I'm having an issue with 'Fixparts'

>  boot live LL 64 bit disc
>  download the md64.deb
>  installed the package
>  did the backup into parts.txt and copied it elsewhere
> used sudo fixparts /dev/sda

response from terminal:    sudo: fixparts: command not found

How can I fix this ?
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 30, 2015, 09:59:32 AM
tripple aught,

Do confirm the md5sum of the ISO file you used to create the live LL disk as N4RPS suggested.

Please remind me how to do this check again...
I did re-download the ISO
I did re-burn another 64 bit live disk
I did run it with the same results....
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 30, 2015, 10:11:32 AM
More Info:

linux@linux:~$ sudo parted -l
Model: ATA WDC WD800JD-60LS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4030MB  4029MB  primary  ntfs         boot, diag
 2      4030MB  46.3GB  42.3GB  primary  ntfs


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.         
Ignore/Cancel? i                                                         
Model: TSSTcorp DVD-ROM TS-H353C (scsi)
Disk /dev/sr0: 774MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags


linux@linux:~$ sudo sfdisk -d /dev/sda > $HOME/Desktop/parts.txt
linux@linux:~$ sudo fixparts /dev/sda
sudo: fixparts: command not found
linux@linux:~$ sudo fixparts /dev/sda
sudo: fixparts: command not found
linux@linux:~$
 
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 30, 2015, 11:10:06 PM
Have no idea why your getting "command not found" message after you've installed the .deb file.  I'm sure you already did this, but just in case:  try again and make sure that no typos happen on the fixparts command.  Other than that, I have no clue why it's not working because it should.  (You can't seem to get a break can you?  Nothing seems to want to cooperate for you.)

Try running parted command this way in a terminal and see if it returns something different from before:
Code: [Select]
sudo parted /dev/sda print
Post back the output.

I'm really at a loss on solving this now.  It seems to me that you're not doing anything wrong and your drive clearly shows that you've pre-shrunk Windows and correctly left unpartitioned space on the disk for LL; so normally there would be no problem installing at this point.

P.s.  Do you happen to have a spare hard drive laying around that you can add to your desktop system?  Maybe you can just keep Windows on its current drive and install LL to the second one.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 31, 2015, 03:08:28 AM
Here is:
Quote
sudo parted /dev/sda print

Code: [Select]
linux@linux:~$ sudo parted /dev/sda print
Model: ATA WDC WD800JD-60LS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4030MB  4029MB  primary  ntfs         boot, diag
 2      4030MB  46.3GB  42.3GB  primary  ntfs

linux@linux:~$

ALSO instructions for Fixparts said:

Quote
   BEFORE you proceed, make a backup copy of the partition table on the HDD with this command (substitute YOUR device name letter for the 'X'):

Code: Select all
    sudo sfdisk -d /dev/sdX > $HOME/Desktop/parts.txt



* Copy the 'parts.txt' file that appears on your Desktop to a USB stick (or some other external source) for safe keeping because it will be lost when you exit the live environment.

* If you have to restore the partition table for some reason, you can use that "parts.txt" file by doing the following:

    * Boot computer with 'live' DVD
    * Copy 'parts.txt' file from your source to the Desktop of the 'live' DVD
    * Then run this command in a terminal (substitute YOUR device name letter for the 'X'):

Code: Select all
    sudo sfdisk -f /dev/sdX < $HOME/Desktop/parts.txt

Soooo I'm thinking there may actually be something wrong with partitions so I used print.txt:

Code: [Select]
linux@linux:~$ sudo sfdisk -d /dev/sda > $HOME/Desktop/parts.txt
linux@linux:~$ sudo sfdisk -f /dev/sda < $HOME/Desktop/parts.txt
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy

This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.

Disk /dev/sda: 9729 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+    489-    490-   3934208   27  Hidden NTFS WinRE
/dev/sda2        489+   5634-   5145-  41325568    7  HPFS/NTFS/exFAT
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
New situation:
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sda1   *      2048   7870463    7868416  27  Hidden NTFS WinRE
/dev/sda2       7870464  90521599   82651136   7  HPFS/NTFS/exFAT
/dev/sda3             0         -          0   0  Empty
/dev/sda4             0         -          0   0  Empty
Warning: partition 1 does not end at a cylinder boundary
Warning: partition 2 does not start at a cylinder boundary
Warning: partition 2 does not end at a cylinder boundary
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
linux@linux:~$

I don't know how to interpret this, but it looks like there's something rotten in ..... oh wait....
can't say that here...

Hope this sheds more light.

>rebooted into Win - ok
>rebooted Live LL disk - Install doesn't see   /sda
>tried Fixparts again - 'command not found' - no typo errors



Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 31, 2015, 06:22:32 AM
From what I can tell, your partitions are fine.  No need to use sfdisk to restore parts.txt because you didn't alter anything before.  (Try not to mess with commands like that if you don't have to.  One mistaken typo could cause serious problems.)

Let's back track a little.  I don't understand why the fixparts command is not working now when it did before when you posted here:  https://www.linuxliteos.com/forums/index.php?topic=1555.msg10975#msg10975 (https://www.linuxliteos.com/forums/index.php?topic=1555.msg10975#msg10975)

Did I misunderstand you on that post?  I had thought that you meant you installed the .deb file, then ran the fixparts terminal command -- which ran, but did not report any problem with stray GPT data.  Was that what you did?  Or did you only install the .deb file and not actually run the program in the terminal?

If you did install and run it on that post, then you must be doing something slightly different now because it doesn't make any sense for it to be any different on these later attempts.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 31, 2015, 01:55:42 PM
   You were absolutely correct.... The first time I ran just the install for fixparts without the commands. (ooops)

    Latest times to run have been with commands.

    Here are the 'prep' screens (df -h)  (sudo blkid)  (sudo parted -l) I did this just to see the different information provided.
Code: [Select]
linux@linux:~$  df -h
Filesystem      Size  Used Avail Use% Mounted on
/cow            929M   45M  884M   5% /
udev            915M  4.0K  915M   1% /dev
tmpfs           186M  1.4M  185M   1% /run
/dev/sr0        738M  738M     0 100% /cdrom
/dev/loop0      706M  706M     0 100% /rofs
none            4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs           929M   16K  929M   1% /tmp
none            5.0M     0  5.0M   0% /run/lock
none            929M   80K  929M   1% /run/shm
none            100M   24K  100M   1% /run/user
linux@linux:~$

Code: [Select]
linux@linux:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="System" UUID="08C2894BC2893E46" TYPE="ntfs"
/dev/sda2: LABEL="WIN 7 SP 1" UUID="889C8B189C8B0044" TYPE="ntfs"
/dev/sr0: LABEL="Linux Lite 2.2 64-bit" TYPE="iso9660"
/dev/sdb1: LABEL="USB20FD" UUID="2A72-97E1" TYPE="vfat"
linux@linux:~$

Code: [Select]
linux@linux:~$ sudo parted -l
Model: ATA WDC WD800JD-60LS (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  4030MB  4029MB  primary  ntfs         boot, diag
 2      4030MB  46.3GB  42.3GB  primary  ntfs


Model: PNY USB 2.0 FD (scsi)
Disk /dev/sdb: 8167MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      28.7kB  8167MB  8167MB  primary  fat32        lba


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.         
Ignore/Cancel? I                                                         
Model: TSSTcorp DVD-ROM TS-H353C (scsi)
Disk /dev/sr0: 774MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags


linux@linux:~$

>  I re-downloaded the Fixparts App and ran it again from Live LL disk on desktop.

>  There is a message on the 'install screen' : "same version is already installed"

> Pull up the command terminal and...

Code: [Select]
linux@linux:~$ sudo fixparts /dev/sda
sudo: fixparts: command not found
linux@linux:~$

I know it's frustrating... but keep in mind that you are being blessed for helping the poor, old, blind, cripple folks .
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on January 31, 2015, 05:13:48 PM
   You were absolutely correct.... The first time I ran just the install for fixparts without the commands. (ooops)

    Latest times to run have been with commands.

Alright, that makes more sense now.


Here are the 'prep' screens (df -h)  (sudo blkid)  (sudo parted -l) I did this just to see the different information provided.

Output is fine, but made me realize that my inclusion of the df -h command is useless from the live environment for this purpose -- so I removed that command from the tutorial.


>  I re-downloaded the Fixparts App and ran it again from Live LL disk on desktop.

>  There is a message on the 'install screen' : "same version is already installed"

> Pull up the command terminal and...

Code: [Select]
linux@linux:~$ sudo fixparts /dev/sda
sudo: fixparts: command not found
linux@linux:~$


Are you using a live DVD, or did you make a live USB with persistence?

Only way it could have shown that it's already installed is if you're using a live USB with persistence.  Otherwise, you might just be misinterpreting the message shown in GDebi package installer after install is completed.  After installation, it will now read as package already installed instead of giving you option to install it.

Anyway, I opened a live 32-bit LL in VirtualBox to see what's going on.  (I didn't have 64-bit version downloaded for use, so just substituted the one I already had.  Should make no difference at all as far as test goes.)
So everything seems to work as expected in my test and fixparts command does exist after installing the .deb file.  There must be some miscellaneous small step you're missing or not doing exactly right -- even though it certainly sounds like you're running the steps right.  Double-check what you're doing against steps above.  After installing the fixparts package, open a terminal and enter this command:
Code: [Select]
man fixparts
The manual page showing how to use fixparts should now be displayed in the terminal.  To exit the man page, type the "Q" key -- that will return you to the prompt.

If you didn't see the manual page and instead got a message saying it couldn't find anything, then you didn't install the fixparts package correctly.  Try again and this time take a screenshot of the GDebi window that shows up initially and another screenshot of the window after the installed completes.  (Menu -> Accessories -> Screenshot.)

Find your screenshots and rename them fixparts1.png and fixparts2.png.  Follow directions shown here to add them to your reply:  https://www.linuxliteos.com/forums/index.php?topic=487.0 (https://www.linuxliteos.com/forums/index.php?topic=487.0)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on January 31, 2015, 07:22:22 PM
Excellent - you got me thinking that if the message on the package installer window sez that 'the same version is already installed' then why not try to run Fixparts before I run the installer.

I did.  It worked.

(http://i.imgur.com/ba5qFPW.png)

As you see I pressed q to quit.
please advise other actions if any....
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 01, 2015, 08:15:11 AM
Hmmm?

It didn't seem to find GPT data as I expected it to.  (You were correct to exit the program after that.)

Now I'm stumped!  Going to need to think about this for a while.  Will post back later today to let you know if I come up with any other ideas or not.

Can't remember if I asked this before or not:  Do you happen to have another hard drive you can connect to computer and install LL to?  Might end up being best to just have Windows stay on its own drive and put LL on a completely separate drive.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on February 01, 2015, 01:31:31 PM
  I was curious about the WARNING in the command response to Fixparts....

But to answer your question: I have a 320GB USB drive that I have the REDO backup on now. It's empty except for that. It's my understanding that you can not boot from a USB drive... is that correct ?

I could redo the REDO onto a USB stick as backup and have the entire 320GB free.

I'm wondering if there's really something screwy about the aftermarket install of Win7 on the desktop.... Other people with Win7 don't have to jump through these hoops - do they?

I'm thinking that there aught aught aught to be a way to put LL on the desktop with Win 7... I'd like to stay with that plan if possible.

PS.  FYI : I'm open to all possibilities. I will be using LL as my main system... I just still want the windows for programs that can't run with a Linux system. If there's a way to put Win (X) on another drive and have LL take the whole desktop, I would be ok with that. ALSO be it known that in no way would I ever even think about holding you accountable for anything that may happen to the desktop.... so if there's something wild and crazy that you would like me to try... consider it a learning experience for everyone... a 'project' (of sorts) . Hi
     
       Besides, you have a reputation to uphold - everything you touch is supposed to turn to gold. Touch this project ! :-)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 01, 2015, 04:56:35 PM
Besides, you have a reputation to uphold - everything you touch is supposed to turn to gold. Touch this project ! :-)

Well, I don't know about that -- doesn't seem to be working here ... yet.  ;)


I'm wondering if there's really something screwy about the aftermarket install of Win7 on the desktop.... Other people with Win7 don't have to jump through these hoops - do they?

No, this kind of problem is rare.  Most of the time a dual-boot installation is relatively simple.


I was curious about the WARNING in the command response to Fixparts....

Actually, I'm glad you brought that up again.  I ignored it before because was focused on what should have showed up but didn't.  So I looked up info on partitions marked as 0xEE to see what that meant and came across this page:  http://www.rodsbooks.com/gdisk/hybrid.html (http://www.rodsbooks.com/gdisk/hybrid.html).  It's written by same guy who wrote the FixParts program -- who is an expert on partitioning related stuff and much of what I've learned came from his writings.

In a nutshell, it looks like you've got what's called a "Hybrid MBR" on your disk.  I'm not even going to try explaining what that means because I don't have full grasp of it myself.  (Read the link for yourself and you'll see why I say that.)  Basically it sounds like a rats nest and somehow your Windows installation was created with that instead of a normal MBR.  That is causing the problem of GParted not seeing the partitions.

Before proceeding:
What you want is a normal MBR on that drive.  Very, very long-shot idea that may work:  use your Windows install/restore disk to fix the MBR.  My thinking is that maybe if you run the commands to redo the MBR, that might create a normal MBR itself.  If it works, then you'll have saved yourself many hours of work.  So here's a link describing how to do that:  http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html (http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html).

If that didn't work then I'm going to outline two other possibilities.  Both of them will require that you wipe out the disk and make a new (normal) MBR to start with.  That can be done with GParted from your live LL disk.  In GParted, just go to Device -> Create Partitition Table -> "msdos" -> OK.  That will make a new MBR/(msdos) partition table and Windows will be gone.  Then ...

Option 1:  try copying cloned partitions back to the drive.  (Completely unsure if this will work.)

I'm not very familiar with Redo Backup, but if you created a clone of the drive I'm worried that you may not be able to use that to clone back on to the original drive because it might clone back the hybrid MBR with it.  If you can just clone back each partition separately (instead of whole disk at once), then that might not happen.  In that scenario, it might work as an easy way to get your system setup quickly, but you'll need to run a Win 7 install/restore disk to put the boot loader back on the disk.  Worst case scenario is that you can't copy the cloned partitions, but you can at least copy back any files you need from them to a new installation of Windows (option 2).

Option 2:  Reinstall Windows from scratch, then install Linux Lite.  (This will work.)

This will work, but it reinstalling Windows and your programs will take a loooong time.

Once you've wiped out the drive by creating a new MBR partition table, use GParted to create one NTFS partition on the drive and make it the size that you want Windows to be.  Leave rest of disk unused, unpartitioned.

Close out of live LL and reboot computer with Windows install disk.  Direct installation to that one NTFS partition.  (Windows will automatically create any other partitions it needs -- probably one small system related partition.)

After the install completes, I'd recommend you DO NOT bother installing Windows updates or any additional programs for right now.  If for some reason you run into the same problem, you want to find that out before you waste more HOURS with updates and program installs to Windows.

Now boot with live LL disk and open GParted.  If you see the Windows partitions, breath a sigh of relief and go ahead with your installation.  You can pick "Along side Windows" and it will automatically make a Root and Swap partition for you in the unused space.  Or, if you pick "Something else", you can make the partitions yourself.

If all that worked, you should now have a dual-boot system.  Now is the time to go ahead and do your Windows updates, install addition programs to it, copy your backed-up files on to it, etc.

Good luck.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 01, 2015, 05:10:50 PM
Redo Backup, qt4-fsarchiver and Macrium Reflect all copy the MBR, does Clonzilla?

Maybe clone the windows partitions to the USB drive with gparted, sort out the MBR for the bad drive and then clone back again and run the Win 7 install/restore disk.?
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 02, 2015, 09:05:45 PM
Redo Backup, qt4-fsarchiver and Macrium Reflect all copy the MBR, does Clonzilla?

Maybe clone the windows partitions to the USB drive with gparted, sort out the MBR for the bad drive and then clone back again and run the Win 7 install/restore disk.?

Using GParted is a good idea too.  I always forget about that.  Thanks for the reminder ukbrian.

@ukbrian,

Do you happen to know if the Redo Backup is just a complete clone of the drive?  If it is then tripple aught could keep that and just use GParted to copy/paste the backed up partitions and not restore the MBR from the backup.  Then use Windows restore disk to get booting restored.  Then install LL.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 03:37:25 AM
Quote
Do you happen to know if the Redo Backup is just a complete clone of the drive?
I've never used it but my understanding is that it is and would make a good fall back

I found restoring clonzilla much to complicated for my little brain but might be the solution as tripple aught is more capable than I.

I have used Reflect for my windows backups for many years, I'm looking at the "Direct disk cloning" on this page as the free version does this. http://www.macrium.com/pages/features.aspx (http://www.macrium.com/pages/features.aspx)

I'll clone my win install on a SSD drive to an external USB and see what happens.

I have never had a need to use USB's as I use RW DVD's but out of curiosity I used saline to clone a running LL install to a ntfs USB writing the MBR to the drive.

It booted into the USB and the install was persistent and I was able to clone LL onto another HDD.

I'm off to try cloning my windows now but I'm a slow methodical guy so don't rush me.

edit
Using Reflect I cloned win7 to a external USB drive, set the bios to boot off it and it failed, rebooted into my usual OS, run update-grub rebooted and it appeared in the menu but failed to boot. I don't have an official win7 CD so I can't try to restore the windows MBR.

I don't see any logical reason why Redo do would fail, it's only copying files and the MBR not doing anything with the partition table so I'll try next with Redo.

edit
I've created the backup file 22 GB, clicked on restore and it's asking for my source drive? not my backup file, very strange and my data partition doesn't seem to be listed.

I'm copying the backup folder onto a USB stick to see if that gets listed.

Any experienced redo users about?

edit
Well I managed to find my backup files on the USB stick and started the reinstall but at 60% it erred with a crc error or something so I'm trying on a second machine now
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 03, 2015, 10:02:28 AM
Thanks for running the tests.  Don't know why Windows wouldn't boot.  If original install was OEM version, maybe it will only boot from an internal disk due to restricted MS license built-in to it?  (Just a guess.)

Any chance you can post GParted screenshots of the USB drive you made the Macrium (or Redo, or both) clone to?
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 10:25:55 AM
I just ran redo on a second machine and successfully backed up win7 to a USB stick and then restored it to a sata drive in one of these type things http://www.cclonline.com/product/74499/25SATSAS35/External-HDD-Enclosure/StarTech-com-2-5-inch-SATA/SAS-SSD/HDD-to-3-5-inch-SATA-Hard-Drive-Converter/HDD3071/ (http://www.cclonline.com/product/74499/25SATSAS35/External-HDD-Enclosure/StarTech-com-2-5-inch-SATA/SAS-SSD/HDD-to-3-5-inch-SATA-Hard-Drive-Converter/HDD3071/)

I rebooted with an F12, selected the new drive and got a grub error because I'd written grub to the original drive so I booted into my primary linux partition done a "sudo update-grub", rebooted and got 2 windows options one on sda1 and one on sdb1.

Both were bootable but now I have the problem of 2 win7's cluttering up my grub menu! I hardly ever use windows.

I found the redo installer very unintuitive! I'll do it again and take some screen shots or do a video.

I might try again on machine one as win7 is on a 40GB drive there with an untouched windows MBR so should boot off F12

PS
Quote
Don't know why Windows wouldn't boot
I think it error because of the backup file whichI'd copied from my data partitio to a USB
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 11:56:42 AM
Redo has a good set of utilities but lacks a screen shooter, I pressed PrintScreen and got a message "no gnome-screenshot installed" so I tried to install and failed from the terminal, no network conection I think so I'll try a different way later.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 02:06:56 PM
I've now found that at sometime I have written to the MBR with windows so I'm doing a fresh win7 install to make sure redo copies the MBR correctly.

LOL
I just installed win7 to the wrong drive!
I installed on a 250 GB and then done a backup and tried to install the backup on a 160 GB drive, epic fail.

It must be 3 years since I done a windows install, luckily I don't have to do the updates because that's the time bandit.

I forgive myself.
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 04:26:32 PM
Success with the new windows install and MBR, I did a redo backup and did a restore to a different HDD, did an F12 on rebooting and it booted into the new install so that's three times I've done it on two different machines.

Redo seems to auto look for the backup to be on a USB stick.

If you want screen shots I need help installing to the running Redo , I downloaded rather than install the gnome-screenshot app with synaptic and did a "dpkg -i *.deb" on the files but prntscr still didn't work.

I can record the video output of one machine with a second machine but I need to set it up again.

I guess redo would come in handy if I wanted to put windows on a bigger drive but I favour keeping windows on a small drive and adding another drive.

Tomorrows another day and I've had enough for one day.
Nite all, bye bye's beckons
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: altman on February 03, 2015, 04:45:06 PM
Will check it out ukbrian , thanx for the efforts here mate .
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on February 03, 2015, 06:05:05 PM
@gold_finger

Quote
I'm a slow methodical guy so don't rush me.

Me too !

I do know this: REDO copies the whole disk and replaces the whole disk to a destination the same size or bigger, NOT smaller.

I copied the desktop drive with REDO before it was resized(using disk management-Win).

After resizing and having unallocated space, I tried the LL instal again - no go - no see /dev/sda

Used REDO to restore back to un-resized state - works great !

REDO wants you to create a live Redo disk - boot - then chose source drive
Then choose destination drive, where folder is created by you to store the Redo backup
Then it copys the entire source drive to that folder.

To restore - boot Live Redo - and choose source (your backup) then destination (your HDD) or whatever drive you've backed up.

It restores it just the way it was - changes nothing.


Now... MY HDD source shows this:

      Drive 1 (74.53 GB): WDC WD 800 ID-6015 (windows7 (loader), 3.75GB NTFS)   (windows, 70.78GB NTFS)

and REDO gives me a choise either or both. I've been choosing both, but I think that the first partition of 3.75GB is the OEM install of Win7 only- not Win7SP1- and this is where RESTORE from Windows will take you... what a mess. REDO to the rescue !

Next I'm trying is to REDO backup only the 2nd part (Windows, 70.78GB NTFS)
Wipe the entire drive clean
and REDO that backup to see if I can boot into SP1 (without that front end loader)

BUT

Quote
If original install was OEM version, maybe it will only boot from an internal disk due to restricted MS license built-in to it?  (Just a guess.)

This may be the issue . and if that's the case - it means that every preinstalled software machine from a refurbished supplier may have this same issue with installing LL ?

Let you know what happens - there is no worst case - it's all good and LL WILL get on this desktop !!!



Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 03, 2015, 06:44:32 PM
On one windows machine with two linux partitions as well that I did not back up when I did a restore it also recreated the linux partitions as well as installing windows so is it possible that it would restore the hybrid(MSDOS/GPT) busines again?

I'm going to have another go again but using Macrium Reflect as it just restores the partitions you backup and not any others.

Is it an UEFI machine friend?
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 04, 2015, 12:58:27 PM
It was a full moon last night and this semi literate old redneck from the wilds of Wales had a lunatic idea!

Do a redo backup to folder "old" on a USB stick.

Do a fresh install of windows to the HDD but do not update it, should take about 40 minutes.

Do a redo backup to folder "new" on the USB stick.

Run gparted > Devices > Create partition table

Rename the file old/*.mdb to *.mdb-ori

Copy the file at new/*.mdb to the old folder

Run Redo backup and restore the backup from the old folder.

Cross your fingers and toes and reboot.

Wear a big lunatic smile


I've not tried it as I'm a bit jiggered and I want to go walkabout but I can't see what you have to lose.

If it doesn't then there should be something here you clever guys can use
https://www.raymond.cc/blog/5-free-tools-to-backup-and-restore-master-boot-record-mbr/ (https://www.raymond.cc/blog/5-free-tools-to-backup-and-restore-master-boot-record-mbr/)

3 years age when you did a restore with Macrium you could uncheck a box to stop the MBR being replaced but not anymore.

Oh for a GUI for Clonzilla.

PS
Warning I'm the bluntest tool in the box. ::)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 04, 2015, 05:07:25 PM
Quote
If original install was OEM version, maybe it will only boot from an internal disk due to restricted MS license built-in to it?  (Just a guess.)

This may be the issue . and if that's the case - it means that every preinstalled software machine from a refurbished supplier may have this same issue with installing LL ?

An OEM version of Windows not booting properly when on a different machine, or external drive (in ukbrian's case) is a different issue than yours and has nothing to do with your particular problem.  Your problem is that it was installed with a hybrid MBR for some reason.  I doubt that this is a common problem generally speaking with refurbished systems, otherwise we'd see a lot more of these types of posts in forums.  I'm not really sure why it happened on yours, but it should be fixable.

That small Windows partition on your drive might contain copy of Windows used to create recovery DVD's.  Look in "Programs" section of Windows menu for somthing that let's you create recovery disks, or type "recovery" or "restore" in search box and see if there is a program to do that.  If so, make a set of recovery DVD's.  That will enable you to re-install Windows from scratch if you wipe entire drive.

If no luck with that, try downloading ISO of same Windows version that is on machine and making set of DVD's from that as per instructions on this page (http://www.howtogeek.com/186775/how-to-download-windows-7-8-and-8.1-installation-media-legally/?PageSpeed=noscript).  (You'll need to have a valid OEM key for Windows to use with the ISO.)

Use instructions on this link (http://www.tomshardware.com/news/win7-windows-7-mbr,10036.html) to fix the MBR using Windows recovery disks.  (I'm guessing that you may also be able to fix using DVD's made with downloaded ISO file, but not sure.)  Maybe that is all that needs to be done.  (Yes, I know your Windows already boots fine.  My thinking is that by going through procedure, it might change the MBR from hybrid to normal.  That's what I'm hoping anyway.  We'll see.)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 05, 2015, 06:50:10 AM
Sorry!
(http://i.imgur.com/LtM5tdR.gif)
Sometimes I'm
(http://i.imgur.com/J9s0Qyv.jpg)
(http://i.imgur.com/5qXTZCh.jpg)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on February 05, 2015, 10:56:17 AM
Hello!

With Redo, if you chose to back up all partitions (what they recommend), then yes, you have the entire drive, and its partition structure, backed up. You can then restore that structure to your external HD, or to a USB flash drive (I guess; I've never tried that), as long as it was 128GB, to accommodate your 80 GB HD.

Redo SHOULD access the Internet with a wired LAN connection, and its kernel auto-detects a wide variety of wireless dongles if inserted before booting - as long as they aren't Broadcom-based. Of course, like anyone else, I'm always looking for a better way of doing things, so I'll check out some of the alternatives you mentioned...

73 DE N4RPS
Rob
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: gold_finger on February 05, 2015, 12:20:35 PM
Sorry!

No need to be sorry -- I wasn't trying to take anything away from your posts.  Just wanted to make point that the Hybrid MBR is the problem for tripple aught, not OEM Windows authentication key problem (which may or may not have been source of your problem when testing).

P.s.  ukbrian -- think I found possible answer why your test failed to boot from the backup copy:  http://ubuntuforums.org/showthread.php?t=1378527&s=efbb74adc91341321f5084d9f4156a9b&p=9067452#post9067452 (http://ubuntuforums.org/showthread.php?t=1378527&s=efbb74adc91341321f5084d9f4156a9b&p=9067452#post9067452)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 05, 2015, 02:01:12 PM
I have no interest in Redo personally and after looking up hybrid MBR on google I'm assuming it's an UEFI machine and he must retain his hybrid MBR.

Would this be of interest?
I've just cloned my running OS to a stick, put it in another machine with a HDD partitioned to GPT and cloned the OS on the stick to the HDD, run grub-doctor to update the MBR on my boot drive, rebooted, selected and ran the new install on the GPT partition.

Using GPT is a new one for me and as  I normally keep windows on a seperate small drive I'll be using GPT in the future. Thank you for pushing me this way (http://i.imgur.com/KucMYdr.gif)

I need a rest after all this typing
(http://i.imgur.com/6j9aWZb.jpg)

Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: tripple aught on February 09, 2015, 03:09:31 AM
Well Fellas, I know you were beginning to think that I had 'fallen in'.... and yes I did. What a mess. Let me bring you up to speed with a few conclusions in the bye:

I was thinking that perhaps this Levono M58 had some hardware issues that needed updating so to make a long story shorter and after several 'blue screens', loss of Dvd drive and Internet; I finally had to use that 3.75 front part 1 of my pre-installed OS to RESTORE back to 'the factory load'. Then REDO to the rescue AGAIN - and now I have a perfectly working desktop with Win7 SP1. It's been a long week !

Tried loading the Install of LL again - still does not see /dev/sda

That funny colored green linux install does not see /dev/sda    (Had to try)

That OFFICIAL website where you can download a recovery ISO of Win7SP1 asked for my key code before allowing the download and... advised me that the OS I have is on a refurbished machine and that I should contact the manufacturer for restoration software.  ISN'T THAT AMAZING !! My OS is registered software for my pre-install`machine only....

Oh... and on the unofficial site for downloading That ISO.... you can download the ISO - burn the disk _ select install- it starts partly and then that install aborts with a message that it needs the correct driver to the drive thats being used to install it with.... WHAT A    K R O C K    OF NONSENSE.  Every driver in that bleeping desktop has been updated.

it's as if all this software runs into a brick wall that prevents it from seeing the pre-installed OS.

So I have a confession: I said that LL WOULD be installed on this desktop along with Windows... to do that I would have to purchase a OEM copy of Windows and wipe the desktop HDD and then do the LL install. I AM NOT going to pay three times what I paid for this desktop to do that.

If there's anyone you know who has a refurbished purchase WITH pre-installed Win7 on it who can get LL to install - I would like to see it with my own eyeballs 'cause; otherwise,  (as we say down south) I AIN'T GONNA BELIEVE IT !

I really am enjoying Linux Lite on this laptop though and since I'm going to have to replace this laptop due to overheating - crazy me thought it would be great to have LL on the desktop also.

Much THANKS and Kudos to you great fellas for attempting to help me out. It is greatly appreciated but I am totally convinced that there is something about OEM software for refurbished machines that is different from the norm.

I would like to HIGHLY recommend REDO for backups of the whole HDD - AND a Windows System Image backup as well. I've learned much this week.

Thanks again,
Lester
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: ukbrian on February 09, 2015, 03:36:25 AM
Quote
So I have a confession: I said that LL WOULD be installed on this desktop along with Windows... to do that I would have to purchase a OEM copy of Windows and wipe the desktop HDD and then do the LL install. I AM NOT going to pay three times what I paid for this desktop to do that.
I know jack sh*t about UEFI friend, so I ask you if it's possible to zap the drive and install LL and then install windows into virtualbox or am I being naive?

(http://i.imgur.com/iV3xrHos.jpg)

Refurbished and running hot don't sound to good.

(http://i.imgur.com/J7PdxcM.gif)
Title: Re: Transfer LL from dedicated LL laptop to desktop w/ win7 sp1 (side-by-side) help
Post by: N4RPS on February 09, 2015, 04:59:37 AM
Hello!

If you restored a Redo Backup from before you 'freed up' space for Linux Lite, then THAT was the way it was restored. That means you'd have to shrink your Windows partition again to install LL.

As for a Windows recovery ISO, if you have a Windows 7 install disk, you should be able to use THAT to restore a broken Windows boot loader. Once you get back in, you can use something like Magical Jelly Bean to extract the Windows product key from it.

Keep pushing on. You CAN made this work. I've done something like this numerous times...

73 DE N4RPS
Rob