Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-16-2016, 09:22 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 3

Rep: Reputation: Disabled
Question can't boot into cloned deepin partition


I have recently installed deepin linux and am very impressed with it.

So much so that I have decided to make it my primary OS for a Digital Audio Workstation.

I need to run the DAW in two instances of Deepin Linux, a production instance and a development instance where all changes to the DAW and possibly the OS can be tested before committing them to the production instance.

(I realize I could use rsnapshot, but I want the mostly highly optimized performance I can get, and snapshotting can degrade system performance).

So to do this I have set up an ultra small form factor PC with 16GB RAM and an i7 processor. Partitioned the 120GB SSD into two partitions and installed Deepin Linux on the first partition.

Used Clonezilla to create a clone of the first partition and confirmed it works by cloning it back on that first partition. Cloned it to the second partition too and Clonezilla remarks the clone to have been successful.

Updated grub by booting into the instance of Deepin and running a sudo update-grub command on it. Upon reboot, only one instance of deepin linux appears in the boot menu.

Used Gparted to copy the first partition to the next. This time I can see the second partition showing up in the boot menu, but it doesn't matter which one I choose between, I keep getting logged into the instance of deepin on /dev/sda1.

Changed the UUID of the second partition via the gui tool in Gparted. Same results, can only boot into /dev/sda1 no matter what I choose.

Suspect there is some kind of issue with grub at play but have also posted to the clonezilla forum after following their advice in their topic

Does anyone have any ideas of how I can further troubleshoot this or know of any other resources I can tap? Has this question been asked before and my forum-fu isn't strong enough to have found it in these forums? Please let me know.



update#1: booted the PC again and randomly I have booted into /dev/sda2 this time. Great to know that I can get to it, more and more suspecting a grub issue.

update#2: found that if I run a sudo update grub, that even though I appear to boot into the same version of grub each time (I changed the background image on one of the grub files theme file so i can tell), I will then boot into the other /dev/sdax. Suspect I need to either delete the other instance of grub or will i be stuck with having to do a grub update every time i want boot into the other partition?

update#3: removed grub from sda1 with:
$ dd if=/dev/sda1 bs=512 count=1 of=sda1.bootsector.backup
$ dd if=/dev/zero of=/dev/sda1 bs=512 count=1

now 1st menu item alternately boots into sda1 or sda2 depending on if i run sudo update grub between boots or not. It also seems to be affected by if i use the cli or the gui to reboot.

Have been rebooting using cli command "sudo shutdown -r now" without updating grub, beginning to suspect some kind of race condition is operative, as it sometimes boots into /dev/sda1 and sometimes into /dev/sda2.

Last edited by jerk; 01-16-2016 at 12:19 PM. Reason: more information has come to hand
Old 01-17-2016, 10:04 AM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,330

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Do you have the correct root entry in addition to the UUID? sda1 (hd0,msdos1), sda2 (hd0,msdos2). Which system is installed to the MBR, sda1 or sda2? Are you using MBR or UEFI? I would suggest you run the boot repair script from the site below and just select the option to Create BootInfo Summary and review it or post it here.


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
Cloned drive fails to boot njstol Red Hat 10 04-11-2012 10:11 PM
Can't boot cloned drive richabblett Linux - Laptop and Netbook 1 06-28-2009 02:43 PM
Help: Making Cloned Partition Bootable ladyrico Linux - Newbie 5 02-24-2009 12:57 AM
Help: Making Cloned Partition Bootable ladyrico Linux - Newbie 1 02-21-2009 11:26 PM
How to make a cloned partition boot? Q.. Linux - General 4 12-25-2007 09:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 PM.

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