LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove 2.8 and dual boot 3.4 with Ubuntu
#1
I have 2.8 installed on /dev/sda3 with 3906 gb
I have Ubuntu installed on /dev/sda6 with 3900 gb
I want to remove 2.8 and install 3.4-32bit.iso in it place
How do I remove 2.8 and where do I install grub
Ubuntu is first and boots first from the grub menu
Reply
#2
Boot computer into your LL2.8 installation, open a terminal and post back here with output of following commands:
Code:
lsblk -af
sudo parted --list


Quote:Ubuntu is first and boots first from the grub menu
Is Ubuntu first on grub menu because you installed it after the LL install, or did you change boot order in LL's grub to make Ubuntu boot first?  After new install of LL3.4, do you want to keep Ubuntu as first boot choice?
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#3
Code:
ray[member=5018]Ray[/member]-Kudu-Pro:~$ lsblk -af
NAME   FSTYPE LABEL MOUNTPOINT
sda                 
├─sda2             
├─sda3              /
├─sda5              [SWAP]
└─sda6             
sr0                 
ram0               
ram1               
ram2               
ram3               
ram4               
ram5               
ram6               
ram7               
ram8               
ram9               
loop0               
loop1               
loop2               
loop3               
loop4               
loop5               
loop6               
loop7               
ram10               
ram11               
ram12               
ram13               
ram14               
ram15             
Reply
#4
I want to keep Ubuntu in the first position
Reply
#5
Code:
ray[member=5018]Ray[/member]-Kudu-Pro:~$ sudo parted --list
[sudo] password for ray:
Model: ATA HGST HTS725050A7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
3      41.9GB  83.8GB  41.9GB  primary   ext4            boot
2      83.8GB  500GB   416GB   extended
6      83.8GB  125GB   40.8GB  logical   ext4
5      492GB   500GB   8466MB  logical   linux-swap(v1)


ray[member=5018]Ray[/member]-Kudu-Pro:~$
Reply
#6
Okay, fairly simple process.  If you have anything on LL2.8 that you want saved, copy it off to USB stick or external drive first.


Boot with live LL3.4 USB/DVD.  Before starting install, open a terminal and run the sudo parted --list command to confirm that partitions are still called the same thing as shown in your post above.  (Partition numbering is a bit strange -- starts with sda2 instead of sda1 -- but sometimes that happens.  So you'll want to confirm that current LL2.8 root partition is still called sda3.  If the numbering is different, you'll know the LL2.8 partition by its "Type" -- it's the only "primary" partition.)


Start the installer and choose the "Something Else" install method.  That will bring you to a partition selection page.  Highlight the old LL2.8 root partition, click the "Change" button and in the pop-up box do:
  • Use as = Ext4 file system
  • Size = leave as it already is -- no change
  • Mount point = / (for root)
  • Check the box to Format the partition
  • Done  (If installer complains that you changed size of partition, even though you did not, ignore message and hit the "Go back" button.  All will be fine.)
No need to do anything with Swap partition.  Installer will automatically see and use that.


IMPORTANT:  Near bottom, set "Device for boot loader installation" = the LL3.4 root partition (eg. /dev/sda3) instead of the default of /dev/sda.  (Assuming Ubuntu was installed after LL2.8 and you did not manually divert boot loader installation for it, Ubuntu's grub is currently controlling boot process because its grub is set in the MBR --  /dev/sda.  So, to keep things as they are don't install LL3.4's grub to /dev/sda.)


Finish install once all of above is set.


When done shutdown/reboot without live USB/DVD.


Boot first into Ubuntu, not LL.  (The grub listing for LL will not work yet because it will still be looking for LL2.8.)  Open a terminal in Ubuntu and run this command to update grub so it finds the new LL3.4 and adjusts the menu accordingly:
Code:
sudo update-grub


Close terminal, reboot computer and listing for LL should now boot you into the new LL3.4 installation.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#7
Thanks for the install procedure,question why does ll-3.4 require a usb/dvd to install rather than using the iso which I downloaded and ran md5 to verify
Is parted more accurate than gparted or is it only preference
Reply
#8
You do use the ISO file you downloaded, but you need to burn that to a DVD or USB in order to boot computer with it and install.  In your LL2.8 installation you can use the xfburn program to burn the ISO as an "image" to a DVD; or you can use the dd command in a terminal to make a live USB from the ISO file.  (See the Help Manual for dd command instructions.)


Quote:Is parted more accurate than gparted or is it only preference
You can look at partitions in GParted if you prefer that to entering terminal command.  It will show same info as parted command -- eg.  what is shown as /dev/sda3 with parted will also show as /dev/sda3 in GParted.  (I just happen to prefer terminal commands myself.)
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#9
Well something went wrong..When I try to boot Linux-lite nothing happens for thr first and second try On the third try it boots Ubuntu.
I insralled grub boot to the sda3 parimeter
I ran update-grub and showed a bunch of kernels and also it stated a configutation file
When booting linux Linux a message came on screen to small and too fast to read or copy
Grub menu continues to show 2.8 on sda3
Any thing I can show you to help
Reply
#10
That's strange -- don't know why it would be showing LL as 2.8 still.  When you installed LL3.4 did you remember to check the box to format the root partition (/dev/sda3) that you installed to?  If not, do the installation again and format the partition.


Otherwise, ...


Boot into Ubuntu, open a terminal and post back here with output from following commands.  (See this post for instructions on how to post terminal output to forum using code blocks.)
Code:
sudo os-prober
cat /boot/grub/grub.cfg | grep "menuentry '"
(NOTE:  "menuentry '" part of command is typed as double-quote, menuentry, space, single-quote, double-quote.)


Now, going to have you mount the LL root partition in terminal, run a command to confirm the version installed, then unmount it.  Post back with output of these commands also:
Code:
sudo mount /dev/sda3 /mnt
cat /mnt/etc/issue
sudo umount /dev/sda3




P.s.
I edited your prior posts with terminal output to put them in code blocks.  For some reason (unknown to me) lines with the "@" character between "Ray" and "Ray-Kudu-Pro" seem to automatically trigger the forum software to convert the line into something referring to a member with username "Ray".  Just ignore that -- it's a glitch in forum software design ... a very annoying glitch (to me at least).
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)