LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-19-2017, 09:28 AM   #1
papajon
LQ Newbie
 
Registered: Aug 2008
Location: The Sea Ranch, CA
Distribution: Ubuntu Gnome 17.04
Posts: 2
Blog Entries: 1

Rep: Reputation: 0
Install a test environment for 17.10 on a separate disk/partition from my primary.


I have an SSD (sda) with Grub as the boot loader. Ubuntu 17.04 is also on the SSD.

I have Win10 on a 25% partition of a 1TB drive (sdb1).

I want to be able to install an occasional 17.10 daily build on the large remaining partition sdb3-formatted as ext4.

My grub on sda is customized and I don't want to lose it during installation of 17.10. The Ubuntu install wants to overwrite it making the 17.10 the primary boot target.
Can anyone give me advice for telling the 17.10 install process to disregard grub - I will set it up manually with Grub Customizer later. Or is there another solution?
 
Old 07-19-2017, 04:55 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
It would be fairly trivial to boot back up from within Ubuntu 17.04 and reinstall 17.04's customized GRUB 2 onto your target device via the command line if you customized GRUB 2 properly

Last edited by wagscat123; 07-19-2017 at 04:56 PM. Reason: Clarity
 
Old 07-20-2017, 06:01 AM   #3
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
I always do it the way wagscat123 said.
Install Grub to the MBR when you install 17.10
That Grub will list 17.04 - so you can then boot 17.04 and run
Code:
sudo update-grub
and
Code:
sudo grub-install /dev/sda
Make a backup copy of 17.04's grub.cfg before you start, for reference.

You can install 17.10 without installing Grub if you start the installation program (ubiquity) from a terminal, with the command
Code:
ubiquity -b
. But you would still have to run
Code:
sudo update-grub
in 17.04 to put 17.10 on that Grub menu.

Last edited by TxLonghorn; 07-20-2017 at 06:12 AM.
 
  


Reply

Tags
grub boot wrong devices, test



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
how to install grub on my separate partition? helen23 Linux - Software 1 10-18-2011 05:57 AM
XP not accessible after 9.10 install to separate partition VY1JA Linux - Newbie 3 12-13-2009 04:33 PM
dd fresh install to separate partition wahming Linux - Newbie 13 02-08-2007 08:04 PM
Migrate Directory to Separate Disk Partition Neapolitan Red Hat 1 01-18-2006 01:51 PM
How does one test the disk surface of the swap partition? gregmcavoy Linux - Hardware 22 01-17-2005 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:27 AM.

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