LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Transfer LL from laptop to desktop w/ win7 sp1 (side-by-side)
#31
(01-30-2015, 01:55 PM)gold_finger link Wrote: 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....
Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply
#32
More Info:

[table]
[tr]
[td]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:~$
[/td]
[/tr]
[/table]
Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply
#33
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:
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.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#34
Here is:
Quote:sudo parted /dev/sda print

Code:
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:
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



Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply
#35
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.freecinema2022.gq/forums/index...5#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.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#36
  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:
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:
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:
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:
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 .
Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply
#37
(01-31-2015, 06:55 PM)tripple aught link Wrote:   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.


(01-31-2015, 06:55 PM)tripple aught link Wrote: 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.


(01-31-2015, 06:55 PM)tripple aught link Wrote: >  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:
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.)
  • Confirmed that fixparts package does not already exist in the live version.
  • Downloaded the fixparts_0.8.8-1_i386.deb file from this site to the Downloads folder.  (Yours should be the fixparts_0.8.8-1_amd64.deb file.)
  • Opened file manager to Downloads folder and double-clicked the .deb file to begin the GDebi package installer.
  • Told GDebi to install the package and it did without any problems.
  • Checked in terminal again to see if fixparts now available as a command and it was there.
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:
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.freecinema2022.gq/forums/index...opic=487.0
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#38
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.

[Image: ba5qFPW.png]

As you see I pressed q to quit.
please advise other actions if any....
Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply
#39
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.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#40
  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 ! :-)
Lester  N5EDX

Be not a drop in the ocean, Be the entire ocean in a drop.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)