LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2019, 10:45 AM   #1
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Rep: Reputation: 1
Delete Linux boot before migrating to new PC or not


As in my previous thread, I'm in the process to migrate my PC disks to a new PC.

Testing Linux on the old one, after many changes I reach a situation with this situation, to summarize

sda is the 275GB SSD with only windows
sdb is the 3TB HDD with data and Windows applications
sdc is the 80GB SSD with only Linux (Kubuntu)

Now i want to migrate sda and sdb to the new PC, and reinstall Kubuntu on a new SSD.

After the troubles of the current setup, interested to have a suggestion if will be safer to

- First make current Linux installation disappear in term of boot configuration (currently grub appear as first and Windows boot only after if I choose to boot a Windows partition, so that if I remove sbc I'm not able to boot anymore) so to have a clean situation, and after simply shift sda and sdb to the new PC
- Maintain current configuration before shifting, since this will ease the work of installing again Linux, maybe avoiding the troubles I have described.

Last edited by davide445; 01-14-2019 at 10:50 AM.
 
Old 01-14-2019, 11:10 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,192

Rep: Reputation: 164Reputation: 164
I think it is a good idea to disconnect sdb before you begin to work.

What Windows version are you using?

When you shift sda and sdb to the new PC, then Linux won´t boot - I assume Grub is installed on sda.
 
1 members found this post helpful.
Old 01-14-2019, 11:27 AM   #3
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Windows 10 just updated to release 1809 October 2018.

My concern is not if Linux will boot again on the old PC (I will not use these installation anymore), but if trying to boot sda and sdb on the new PC I will encounter problems.

I.e. on current PC if I unplug connection with sdc (disk with Linux installation) I'm not able to boot on Windows. This since I remain stuck on grub command line screen without any other options.

Last edited by davide445; 01-14-2019 at 11:28 AM.
 
Old 01-14-2019, 12:27 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,599

Rep: Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767
Quote:
on current PC if I unplug connection with sdc (disk with Linux installation) I'm not able to boot on Windows
The boot repair info you posted in your earlier thread showed Grub from Kubuntu on sdc installed to the MBR of sda. You indicated later (I think) that you also installed Grub from Kubuntu to the MBR of sdc, the Kubuntu drive. This wasn't really clear in your other thread. Since most of the Grub files needed to boot are on the Kubuntu partition and you have Grub in the MBR of the drives it would make sense that you cannot boot windows on its own. If you want windows on the drive with windows code booting windows, you need to repair it and install windows code to the MBR of its drive. Then you can have Grub on the Kubuntu drive which should also boot windows and windows on its own drive with its own bootloader.

In the last post in your earlier thread you indicate that you used boot repair to set sda1 as active/bootablle partition. Not sure why you did this if that's what you did because boot repair already showed it as active/bootable.

Last edited by yancek; 01-14-2019 at 12:34 PM.
 
1 members found this post helpful.
Old 01-14-2019, 12:44 PM   #5
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Understood what is used to manage boot in Linux (grub) and how can I manage it (Boot-repair) I have no clue how to do the same on Windows.

Quote:
Originally Posted by yancek View Post
If you want windows on the drive with windows code booting windows, you need to repair it and install windows code to the MBR of its drive.
Really no idea what this mean. Need I to enter into Windows repair?
And if I start with a Linux installation instead of fist migrating Windows, this might ease the process?

Quote:
Originally Posted by yancek View Post
In the last post in your earlier thread you indicate that you used boot repair to set sda1 as active/bootablle partition. Not sure why you did this if that's what you did because boot repair already showed it as active/bootable.
Was a try to resolve the problem of not being able to boot Windows anymore. Not working.

Last edited by davide445; 01-14-2019 at 01:58 PM.
 
Old 01-14-2019, 04:08 PM   #6
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Tried booting the new PC using a USB Live Ubuntu installation and worked without any problem. Ram, GPU, CPU, fan all working and recognized.

Now the decision is if
- start installing Ubuntu on the local new sdc (a different disk but mounted in the third Sata slot ad the old in the old PC) and next migrate sda and sdb
- migrate sda and sdb and only after install Ubuntu on sdc

Any reasoning is welcomed.
 
Old 01-14-2019, 05:52 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,599

Rep: Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767
Your windows system was and apparently is unbootable for unknown reasons. It might have to do with your installing/trying to install Grub2win and its effects. I don't know anything about it. If you can't boot windows on the old system, moving it to a new drive isn't going to help.

Quote:
Need I to enter into Windows repair?
You need to repair or replace your windows boot files and to do that you need windows software. The boot repair software can do minor repairs to boot a windows system but that will only work if none of your windows boot files are corrupted and all of your windows boot files exist and are where they should be. A windows installation DVD, a recovery disk of your windows or similar which you should be able to download from microsoft or some other windows site.
 
Old 01-15-2019, 02:36 AM   #8
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Windows now is working on the old PC, as written in the other thread. The attempt written in previous message was just an unsuccessful attempt, but after that and other tests was possible to boot Windows.

Will test today on the new PC the path of first installing Linux and next migrate Windows.

Last edited by davide445; 01-15-2019 at 02:38 AM.
 
Old 01-15-2019, 04:45 AM   #9
alexpaton
Member
 
Registered: Jul 2009
Distribution: Ubuntu & ClearOS
Posts: 163

Rep: Reputation: 47
Surely, installing grub to sda MBR would fix the boot problem?

If you install a new SSD for kubuntu, as sdc, given your previous problems, you will have to make sure that grub is installed to sda MBR anyway, to avoid the previous problems.
 
Old 01-15-2019, 07:18 AM   #10
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
I tested the Linux first approach and it worked.
Migrated all the disks from the old PC recreating the same configuration

sda (SSD Win10 from old PC) --> SATA1
sdb (HDD NTFS with Win10 app from old PC) --> SATA2
sdc (new SSD) --> SATA3

Installed Kubuntu on sdc first, a couple of reboot before all settled down, Win10 updated itself and now I'm able to boot on Kubuntu or Win10 on the new PC.

The final configuration is here, to be honest apart carefully recreating the disk setup of the old PC I didn't do anything, and so need to be in my opinion.

Last setp install the second GPU.

Last edited by davide445; 01-15-2019 at 07:19 AM.
 
Old 01-15-2019, 09:02 AM   #11
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Installed also the second GPU, so far all appear to be running.

Need to test the whole thing with his drivers for compute etc, and also refine the boot management that now require me to use F8 to ask for booting from sda (Win10 disk) and after that I can reach grub.

If I leave the boot going without entering in BIOS a black screen with blinking cursor is displayed.
 
Old 01-17-2019, 05:31 AM   #12
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 73

Original Poster
Rep: Reputation: 1
Just to give a closure, from the BIOS I was able to set the sda Win10 disk as primary boot, so now I'm entering in grub menu directly on that disk, and from there I can decide if booting on Linux or Win10.
If Win10 is chosen I need to pass another option menu (not sure why, since in fact there is only a boot partition, but not a problem) and all is working.
Thanks all for your help, happily technology is doing almost all by himself nowadays.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] FAIL: Migrating Chainloaded MBR to GPT on Intel dg965wh mb? Will not boot :( CherylJosie Linux - Desktop 20 09-18-2014 06:11 AM
migrating domains slowly--mail not sending from new server to old ABL Linux - Server 0 10-20-2007 02:54 PM
What tools to use for repartitioning before migrating FC5->FC6? rewtedesco Fedora 0 01-04-2007 11:55 PM
install after or before gcc,binutils,make,module-init when migrating kernel 2.6 eatmars Linux - Software 1 10-02-2005 12:52 PM
do i have to install first the requirements before migrating to kernel 2.6 eatmars Slackware 2 10-01-2005 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration