You are Here:
Linux Lite 5.0 Final is now available for download and installation



[ SOLVED ] Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2

Author (Read 3363 times)

0 Members and 1 Guest are viewing this topic.

Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« on: May 31, 2017, 03:23:51 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
Recently i installed Linux Lite 3.4 64bit on a friends laptop. Now she asked me to create a dual boot with OpenSuse Leap 42.2
She has a SSD which i can split into 2 partitions, one for Linux Lite and one for OPenSuse. At the moment the drive is one large partition, no home partition or swap partition.

Now the question is how to make sure that both systems do boot after OPenSuse is installed.
Last Edit: June 01, 2017, 07:56:34 AM by gold_finger
Life on earth is expensive but it does include a free trip around the sun.
 


Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #1 on: May 31, 2017, 05:19:49 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Quote from: TMG1961
Now the question is how to make sure that both systems do boot after OPenSuse is installed.
Don't think you have anything to worry about as long as you install OpenSuse in same boot mode as LL (which would be Legacy mode).  Only bring that up just in case computer is relatively new with UEFI firmware.  Live OpenSuse may have ability to boot in either mode.  Whatever mode it boots in is the mode it will try to install in.  Make sure it boots in Legacy mode if she's got a UEFI based computer (likely if it's newer than 2011-12).


Typically you'll need to press a certain key immediately after powering on computer to invoke a Boot Menu that lists devices to boot from where you then choose the USB stick.  If it's a UEFI based computer, you should see two choices for the USB -- one referring to UEFI, the other without any reference to UEFI.  Pick the non-UEFI option.


Haven't installed OpenSuse myself in a few years so don't remember steps in its installer, but it likely gives you option for where to install grub boot loader.  If you want OpenSuse to control booting, have it install to MBR of drive (eg. /dev/sda).  If you want LL to remain in control, have OpenSuse's grub installed to it's root partition (eg. /dev/sda2), or not at all if that's an option.  If you choose the latter you'll need to update grub in LL before the choice to boot OpenSuse appears on the grub menu.  Just run sudo update-grub in an LL terminal to do that and next reboot will have it listed.


Food for thought:
You may want to consider making two 20-25GB Root partitions (one for each distro), one Swap partition, and one large data partition to be used by both.  That way any documents, music, videos, etc. that she has can be accessed more easily from whatever one she's booted into.  I posted general procedure for doing just that for someone else here earlier today.  Have a look here.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #2 on: May 31, 2017, 05:36:59 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
Thanks for your answer gold_finger. The laptops bios supports both Uefi and Legacy boot. What i did so far was to boot with LL live cd and use gparted to create a 45GB partition, not formatted yet for OpenSuse. She does not have a seperate home partition.


Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #3 on: May 31, 2017, 05:57:59 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Just to clarify:  in my last paragraph I was talking about a shared partition for data only -- not a shared home partition, which is something you don't want to do.  See this if not sure what I mean.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #4 on: May 31, 2017, 07:22:30 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
Thanks for the xtra info, will take a look at it. 
Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #5 on: May 31, 2017, 08:02:05 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
Quote from: TMG1961
Now the question is how to make sure that both systems do boot after OPenSuse is installed.

Haven't installed OpenSuse myself in a few years so don't remember steps in its installer, but it likely gives you option for where to install grub boot loader.  If you want OpenSuse to control booting, have it install to MBR of drive (eg. /dev/sda).  If you want LL to remain in control, have OpenSuse's grub installed to it's root partition (eg. /dev/sda2), or not at all if that's an option.  If you choose the latter you'll need to update grub in LL before the choice to boot OpenSuse appears on the grub menu.  Just run sudo update-grub in an LL terminal to do that and next reboot will have it listed.


Installed Opensuse, when i start laptop it goes straight to linux lite without a menu. I ran sudo update-grub but still no menu to choose Linux Lite or Opensuse
Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #6 on: May 31, 2017, 10:22:22 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Well that's a surprise.


Boot into LL on the computer and post back with output of following commands:
Code: [Select]
sudo os-prober
lsblk
sudo parted --list


Was the install of OpenSuse fairly straightforward?  Nothing about it requiring you to guess at a setting or option?
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #7 on: May 31, 2017, 11:09:54 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
Intallation was straight forward, only needed to change the installation of grub to no install

Code: [Select]
theo@Lenovo-B50-30:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111,8G  0 disk
├─sda2   8:2    0     1K  0 part
├─sda7   8:7    0  25,4G  0 part
├─sda5   8:5    0     2G  0 part
├─sda1   8:1    0  66,8G  0 part /
└─sda6   8:6    0  17,6G  0 part
theo@Lenovo-B50-30:~$ sudo parted --list
Model: ATA Samsung SSD 850 (scsi)
Schijf /dev/sda: 120GB
Sectorgrootte (logisch/fysiek): 512B/512B
Partitietabel: msdos
Schijfvlaggen:

Nummer  Begin   Einde   Grootte  Type      Bestandssysteem  Vlaggen
 1      1049kB  71,7GB  71,7GB   primary   ext4             opstart
 2      71,7GB  120GB   48,3GB   extended                   lba
 5      71,7GB  73,9GB  2155MB   logical   linux-swap(v1)
 6      73,9GB  92,8GB  18,9GB   logical   btrfs
 7      92,8GB  120GB   27,2GB   logical   xfs
Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #8 on: May 31, 2017, 04:47:57 PM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
After a lot of trial and error i finally got linux lite to boot. Installed grub customizer in opensuse and editted the linux lite entry. Took me some finetuning before it finally worked. Laptop is back and she is happy it works.
Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #9 on: May 31, 2017, 08:55:33 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Just got home from work to see your last two posts.  Glad to here you were able to sort it out.  Good job!


Latest output shows that OpenSuse installed using btrfs and xfs instead of ext4.  I have zero experience with those and am not sure how to get LL to recognize them -- so glad you figured something out yourself.  My only immediate thoughts were either to re-install OpenSuse again and put its grub boot loader in the MBR hoping that it would be able to boot LL; or re-install it and direct it to use ext4 partitions instead, which presumably LL's grub would deal with properly when trying to add menu entry in grub.


P.s.
Just realized that your last post said "i finally got linux lite to boot".  I thought problem was that computer was booting straight into LL and not giving you option to boot OpenSuse.  Did you end up re-installing OpenSuse and letting it take over booting, only then to end up not being able to boot LL?  Or was problem not being able to boot LL all along?  I'm just curious.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #10 on: June 01, 2017, 03:26:03 AM »
 

TMG1961

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 582
    Posts
  • Country: nl
  • Reputation: 89
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel(R) Core(TM) i3-7020U

  • MEMORY: 8Gb

  • VIDEO CARD: Intel(R) HD Graphics 620

  • Kernel: 4.x
I reinstalled opensuse and used ext4 instead of btrfs. After the installation i was not able to boot into LL, it was listed in the bootloader but didnt boot. I then installed grub customizer in opensuse and ediited the LL entry. I changed type to Other and did copy the info from the LL grub.cfg file into it. After that LL booted up fine.

This what i did paste into the field:
Code: [Select]
load_video
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a64acebe-1dc5-479c-ab71-829ac83edd57
      else
     search --no-floppy --fs-uuid --set=root a64acebe-1dc5-479c-ab71-829ac83edd57
      fi
   echo   'Laden van Linux 4.11.0...'
   linux   /boot/vmlinuz-4.11.0 root=UUID=a64acebe-1dc5-479c-ab71-829ac83edd57 ro  quiet splash $vt_handoff           
   echo   'Laden van initiŽle RAM-schijf...'
   initrd   /boot/initrd.img-4.11.0
Life on earth is expensive but it does include a free trip around the sun.
 

Re: Dual boot Linux Lite 3.4 and openSUSE-Leap-42.2
« Reply #11 on: June 01, 2017, 07:54:15 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Okay, thanks for posting info on what you did and good job getting it fixed.  Hope your friend enjoys using new Linux setup.
Try Linux Beginner Search Engine for answers to Linux questions.
 


Tags:
 


Linux Lite 5.0 Final is now available for download and installation