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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uninstall duplicate version of linux lite 3.4
#1
Hello! I am a newbie and new to the forum. I am also illiterate as far as coding is concerned, having been a Windows user. I installed Linux lite a couple of days ago, and while mounting partitions, ran into a problem. Although I followed the instructions in the manual, an error message popped up about the disk, and then I couldn't get past the initial screen on boot up - the one with the feather. After that I got a black screen saying
'welcome to emergency mode!' and a bunch of options including entering a root password (which didn't work) and pressing 'control -D'. On doing the last action, I got an error about some 'ext4 not found'.
The forums were full of help that involved a lot of code which I didn't understand. (I'll learn code by and by, but right now I need help!)
So I tried re-installing. Now the opening screen has 2 versions of linux. How do I remove the earlier one?
I would really appreciate help on this! Thank you in advance!
Reply
#2
It would help if you gave some more information on how you installed (whole disk and wiped windows or dual booting with windows). If your using the whole disk and have wiped windows from the hard drive, the easiest would be to reinstall and on the part on where it asks how you want to install select the top to use the whole disk. The other way with dual booting is a little bit more complicated and if you can get into the install you can easily modify the grub menu and update grub afterwards to fix what is being shown. Please give some more information so we can give appropriate solutions.
Reply
#3
Answer supergamer's question on whether or not you are trying to setup a dual-boot with Windows, or just have Linux Lite on the computer.  If you only want LL, then you can do as s/he said and just re-install one more time and choose the install option that says to use the whole disk.  That will erase everything on it and you'll end up with just one LL system installed.


If you do have Windows on computer and are setting up a dual-boot, don't do another install.  Instead, boot into you're working LL (by letting computer automatically boot into the first highlighted grub boot menu listing).  Once booted up, open a terminal window by either clicking the black icon that looks like a TV screen with ">_" in it, or by going to Menu -> Accessories -> Terminal.  Going to have you enter a couple of commands that will show us information on how your system is set-up on the hard drive currently.  We need to know that to give advice on how to proceed if you're using more than one operating system on computer.


Type the following command into the terminal and hit <Enter>:
Code:
lsblk -af


Then type this command and hit <Enter>.  You'll need to enter your user password when prompted.  Nothing will show on the screen as you enter your password -- that is normal.  Just type in password and hit <Enter>; then command will execute.
Code:
sudo parted --list


When you post your reply to questions back here, follow directions on this post for how to copy the output in your terminal and post it in your forum reply for us to see.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#4
Thank you so much for your help. I installed the new Linuxlite alongside the Windows 7 and the earlier (same version) linuxlite 3.4.
This is the result of the code I typed in:
Code:
radel-jpn@radeljpn-HP-Pavilion-dm4-Notebook-PC:~$ lsblk af
lsblk: af: not a block device
radel-jpn@radeljpn-HP-Pavilion-dm4-Notebook-PC:~$ sudo parted --list
[sudo] password for radel-jpn:
Model: ATA ST9640423AS (scsi)
Disk /dev/sda: 640GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End    Size    Type      File system     Flags
1      1049kB  106MB  105MB   primary   ntfs            boot
2      106MB   210GB  210GB   primary   ntfs
3      210GB   316GB  106GB   primary   ntfs
4      316GB   640GB  324GB   extended                  lba
8      316GB   425GB  109GB   logical   ext4
5      425GB   537GB  112GB   logical   ntfs
6      537GB   634GB  96.5GB  logical   ext4
7      634GB   640GB  6386MB  logical   linux-swap(v1)


radel-jpn@radeljpn-HP-Pavilion-dm4-Notebook-PC:~$ ^C
radel-jpn@radeljpn-HP-Pavilion-dm4-Notebook-PC:~$

Reply
#5
By the way, the 210GB disk has got all my data and documents while I was working on Windows 7.
Reply
#6
The easiest way to get rid of the extra install is to type:
Code:
sudo gparted

That should open up to the partition your using, then go and find the other install and format or delete the partition. Number 6 and 8 has the ext4 file system on it so one of those partitions will need to be formatted or deleted. As for fixing the gub2 menu it would probably be safer to wait until this issue is fixed first before starting on that.
Reply
#7
Hello,
This is the screenshot of the result of the command sudo gpart:

  [Image: AtMWbYLl.png]



Thank you again for your time and help.
Reply
#8
Further if I try to delete partition /dev/sda6, the error is
'unable to delete /dev/sda6! Please unmount any logical partition with a number higher than 6'.
So when I tried to unmount /dev/sda8, the error message is:
# umount -v "/"
umount: /: target is busy
     
Reply
#9
Try using the install disk of LinuxLite. Run it in live mode and use gparted from it.
Reply
#10
GParted screenshot showed that the LL you were booted into was on /dev/sda8, so that is the one whose grub boot loader is controlling boot of computer now.  Therefore deleting the LL on sda6 is the correct move.


Both LL's, an NTFS partition and the Swap partition are all contained within the same "extended" partition -- /dev/sda4.  As you found out, you can't manipulate one partition within it unless all are unmounted.  You can't unmount a partition that is in use, so system won't allow you to unmount your root partition from the running system (/dev/sda8).


Instead, do as supergamer said and boot from your live LL install USB/DVD and run GParted from that.  The Swap partition will get automatically mounted when you boot your live LL USB and that will need to be unmounted before you can delete the sda6 partition.  In GParted, right-click the Swap partition and choose "swapoff" first; then you'll be able to delete sda6.


When you're done, reboot computer into the remaining LL install.  (You'll still see a menu entry for the other LL, but it won't boot anything anymore.)  Once booted, open a terminal and enter this command to update grub:
Code:
sudo update-grub


Next time you boot up the menu entry for second LL will be gone.




P.s. Doesn't matter anymore because GParted screenshot showed what I was looking for, but just for your information the first command above that I had you enter did not return proper info because you forgot to include the "-" in it.  You typed lsblk af when it should have been lsblk -af.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)