You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Getting rid of 2.8

Author (Read 5198 times)

0 Members and 1 Guest are viewing this topic.

Re: Getting rid of 2.8
« Reply #12 on: September 13, 2017, 01:15:21 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Good job everyone :)
 

Re: Getting rid of 2.8
« Reply #11 on: September 12, 2017, 11:49:14 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
Yes, that did it, writing this from the "bricked" machine.  I followed your steps but before doing anything, I decided to first check my partition with GParted in LL3.0 LiveCD. Surprise, it was sdb6! If you go up into my first post, you'll see that I was dealing with sda6. Anyway, with sdb6, your instructions worked perfectly.
Thanks Goldfinger (and also Jerry for that cool Youtube vid!).  This was not a Linux Lite trouble per se, but this community is so helpful, it's natural to check here first.
LL6.6 in VM
LL5.8 Host
 

Re: Getting rid of 2.8
« Reply #10 on: September 12, 2017, 10:32:16 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Quote from: bonnevie
I gave a shot at my GRUB/Partition problem with you help video.   But early on, I get this message that there is no such partition.   It really looked promising but I guess I'll now wait to see from you guys if this is the end of the rescue process.
EDIT: I'm digging into Ubuntu Help and saw that I didn't call my partition correctly in Grub Rescue.  Would it be (hd0,6)?
Maybe -- it's possible msdos5 and 6 may not correspond with sda5 and 6.  Eg. msdos5 may actually be sda6.


Try with msdos6 first; if doesn't work use msdos5.


If still no luck you can also get system back by doing the following while booted from live USB/DVD of LL.
*** Boot with live LL USB/DVD and open a terminal when desktop is up and running.
*** Enter following command to list the partitions on drive and see that your root partition is still called "/dev/sda6".
Code: [Select]
lsblk -f

*** Assuming it is, enter following commands to mount the root partition to live environment and re-install grub to MBR of drive.
Code: [Select]
sudo mount /dev/sda6 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda


*** Unmount root partition from live environment with this command.
Code: [Select]
sudo umount /dev/sda6

*** Close terminal, shutdown computer, remove live USB/DVD.
*** Reboot and it should now boot into installed system.




P.s.

Quote from: TheDead
Uh, guys, again with my Windoze background but, you can boot from a "non-primary" partition in linux?
Yes -- not a problem in Linux.
« Last Edit: September 12, 2017, 10:41:24 PM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Getting rid of 2.8
« Reply #9 on: September 12, 2017, 06:27:58 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
Hello Jerry,
I gave a shot at my GRUB/Partition problem with you help video.   But early on, I get this message that there is no such partition.   It really looked promising but I guess I'll now wait to see from you guys if this is the end of the rescue process.
EDIT: I'm digging into Ubuntu Help and saw that I didn't call my partition correctly in Grub Rescue.  Would it be (hd0,6)?  It allowed me to find the Grub path
(./ ../ unicode.pf2 grubenv gfxblacklist.txt grub.cfg) but I don't know what to do with this.  I also found the path to sda6 .  So I'm trying to get all this together and make it work. 
« Last Edit: September 12, 2017, 09:51:28 PM by bonnevie »
LL6.6 in VM
LL5.8 Host
 

Re: Getting rid of 2.8
« Reply #8 on: September 11, 2017, 02:18:26 PM »
 

TheDead

  • Gold Level Poster
  • *******
  • 936
    Posts
  • Reputation: 92
  • Linux Lite Worshipper
    • View Profile
    • My OpenDesktop Projects

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
Uh, guys, again with my Windoze background but, you can boot from a "non-primary" partition in linux?

-TheDead (TheUxNo0b)
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Getting rid of 2.8
« Reply #7 on: September 10, 2017, 08:47:06 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x

I had to leave for a few days, but I will certainly try what is shown in this video later this week . I won't reinstall until there's no hope. Thanks again for your help.  I know this should normally be pretty straightforward.
As for my original attempt, at first I couldn't "stretch" my LL3 partition. Nothing was happening when I was trying to pull the colored side to the left or use the black arrows on the partition. As I was stuck, I saved a slightly modified partition, retry and on my second attempt, the partition bar did extended all the way.  I think that may have caused this problem.

LL6.6 in VM
LL5.8 Host
 

Re: Getting rid of 2.8
« Reply #6 on: September 10, 2017, 08:07:16 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Did you set the boot flag?

The boot flag is shown in the first image.

@bonnevie providing you followed each instruction exactly, you should have no issues.
Let's see if it's possible to repair what you're left with.

 

Re: Getting rid of 2.8
« Reply #5 on: September 09, 2017, 11:32:19 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
Did you set the boot flag?
Want to thank me?  Click my [Thank] link.
 

Re: Getting rid of 2.8
« Reply #4 on: September 09, 2017, 08:06:44 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
OK, so partitionning appears to be OK



But my PC won't boot

Probably some operator mistake... is it irreversible?  I can always reinstall. But not tonight!
« Last Edit: September 10, 2017, 08:10:52 AM by Jerry »
LL6.6 in VM
LL5.8 Host
 

Re: Getting rid of 2.8
« Reply #3 on: September 09, 2017, 03:36:58 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
Great tutorial, thanks a lot Jerry.  I'll give it a shot later tonight, will mark Solved if I succeed (and get you a few coffees).
LL6.6 in VM
LL5.8 Host
 

Re: Getting rid of 2.8
« Reply #2 on: September 09, 2017, 09:19:29 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
I can't think of an easier way than GParted. I hope you review your use of it.

1. Boot into a live copy of Gparted - https://sourceforge.net/projects/gparted/files/gparted-live-stable/0.29.0-1/ (32bit or 64bit ISO)
2. In Gparted, select the 2.8 partition and delete it. Apply operations.
3. Right click on sda6 and set the boot flag. Apply operations.
4. Right click on sda6 select Resize/Move, grab and slide the partition (the colored part) all the way to the left. Click on Resize/Move. Ignore the error warning. Apply operations.
5. Then click on the sda6 partition and pull the right hand slider all the way to the right. Click on Resize/Move. Apply operations.
6. Then boot into 3.6, open a terminal and do:

Code: [Select]
sudo update-grub
See here for images of the steps in order - http://imgur.com/a/fFTv5
 

Getting rid of 2.8
« Reply #1 on: September 08, 2017, 08:30:06 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
Hello,

This is what my GParted looks now:



-sda1 is LL2.8, sda6 is LL3.0 (upgraded to 3.6)
-I don't use 2.8(sda1) anymore and want to get rid of it to regain memory space and only keep sda6. I think (sda1) is a logical partition.
-I am not confortable with GParted, having already erased Win7 by mistake. I didn't know, and still don't know, how to deal with logical partitions and extended partitions. I only know that erasing a logical partition will mess with my extended partition.
My question is: can I get rid of LL2.8 in this setup without messing up with LL3.0?
If so, how do I do that?
« Last Edit: September 12, 2017, 11:53:55 PM by bonnevie »
LL6.6 in VM
LL5.8 Host
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section