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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting rid of 2.8
#1
Hello,

This is what my GParted looks now:

[Image: LYOxa8z.png]

-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?
LL6.6 in VM
LL5.8 Host
Reply
#2
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.../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:
sudo update-grub

See here for images of the steps in order - http://imgur.com/a/fFTv5
Reply
#3
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
Reply
#4
OK, so partitionning appears to be OK
[Image: jvoQkRc.png]

[Image: jvoQkRc.png]
But my PC won't boot
[Image: mVNohp4.png]
Probably some operator mistake... is it irreversible?  I can always reinstall. But not tonight!
LL6.6 in VM
LL5.8 Host
Reply
#5
Did you set the boot flag?
Want to thank me?  Click my [Thank] link.
Reply
#6
(09-10-2017, 03:32 AM)torreydale link Wrote: Did you set the boot flag?

The boot flag is shown in the first image.

[member=5459]bonnevie[/member] 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.

https://www.youtube.com/watch?v=WiZ2KuBFYwA
Reply
#7

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
Reply
#8
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.
Reply
#9
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. 
[Image: pki9c6u.png]
LL6.6 in VM
LL5.8 Host
Reply
#10
Quote: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:
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:
sudo mount /dev/sda6 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda


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


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




P.s.

Quote:Uh, guys, again with my Windoze background but, you can boot from a "non-primary" partition in linux?
Yes -- not a problem in Linux.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)