Originally posted by Robert24
View Post
Announcement
Collapse
No announcement yet.
Decreasing windows partition's size and increasing kubuntu partition's size
Collapse
This topic is closed.
X
X
-
- Top
- Bottom
-
Originally posted by Robert24 View PostBut I don't know if it's really worth modifying my fstab file just to have it automatically mounted, because I can mount it in Dolphin just by pressing on the icon corresponding to this partition.
Another useage is to mount it at the folder that will have the most files. For example, if you do a lot of video work, you can have it mounted at /home/myuser/Videos/
If you EVER need to re-install or change a distro, you could theoretically inslall your new linux distro to the empty parttion and set it as /. Then re-use your current partition as /home. I personally don't do that for various reasons.
@Qqmike The thing is I'm slightly confused about what these Legacy BIOS and UEFI are, how they are related, and what is the meaning of the output of this command you recommended me to enter in the terminal.
I read this page on quora:
For my personal verification can you run this command and paste the output, I'm curious as to the result:
sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
- Top
- Bottom
Leave a comment:
-
The thing is I'm slightly confused about what these Legacy BIOS and UEFI are ...
I wrote these, which you might check; and see the references, too -- especially Wikipedia on these topics:
GPT, UEFI -- Study Guide
https://www.kubuntuforums.net/showth...l=1#post346604
UEFI Simplified, a quicker version
https://www.kubuntuforums.net/showth...l=1#post379977
BIOS and UEFI both refer to a way, a method, an approach, a paradigm, to specifying the firmware (the code that controls to "guts" of the computer) that controls a computer. Almost all newer machines, say 2001 or so, now use the UEFI specifications.
- Top
- Bottom
Leave a comment:
-
Thanks again for your answers!
@Snowhog I entered the command that you indicated me and here is the line for sda8:
Code:/dev/sda8: LABEL="backup" UUID="302f611e-26af-483d-aa59-81f160509a14" TYPE="ext4" PARTUUID="efb39c31-f908-4f9f-a84e-fe2a479ac158"
@Qqmike The thing is I'm slightly confused about what these Legacy BIOS and UEFI are, how they are related, and what is the meaning of the output of this command you recommended me to enter in the terminal.
I read this page on quora:
https://www.quora.com/What-is-the-di...talling-the-OS
and from what I understood, both the BIOS and UEFI play the same role but the later is more recent. It also looks like UEFI tries to boot a system but can't find it the BIOS is then called (which I suspect to be what happened in my case). But my understanding stops there. So what is this file coming from this efibootmgr, if I may ask?
- Top
- Bottom
Leave a comment:
-
I did it and saved it inside a .txt file. But what is it for?
- Top
- Bottom
Leave a comment:
-
So the Backup partition isn't being mounted on boot. Not a problem. It is 'available' to you, and if you want to have ready access to it while you are running Kubuntu, you just need to add it to the fstab file.
In anticipation that that is what you might want, in a Konsole type: sudo blkid and copy and paste the line for /dev/sda8 in your reply. I'll follow that with the fstab entry you would need to add.
- Top
- Bottom
Leave a comment:
-
Thank you to all of you.
Since it doesn't seem to be necessary I will not do anything with this backup partition yet.
@Snowhog
Here is the output of the command:
Code:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda5 during installation UUID=4a54f916-961d-4c8e-97c5-7b319442e029 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=fc753961-5c59-4f78-a656-dfcf6b4d2c83 /home ext4 defaults 0 2 # swap was on /dev/sda7 during installation UUID=00072d64-416d-4566-8c59-0a3b469c6524 none swap sw 0 0
Now that you got things working, the next time you are booted into Kubuntu, I would run a command to see and record what your firmware boot setup is, then copy that output to a file to be saved, or even printed!
The command to run, in Kubuntu, is:
Code:
sudo efibootmgr -v
- Top
- Bottom
Leave a comment:
-
Originally posted by mr_raider View PostNo. Leave it as is for now.
There is no need to re-install kubuntu. That partition is there is you ever want install another version of linux, or need to move stuff over to the backup to do manioopulations. Personally, I don't create backup partitions.
Open a Konsole and type: cat /etc/fstab
Copy and paste the output in your reply.
- Top
- Bottom
Leave a comment:
-
Originally posted by Robert24 View PostThe only thing I have left to do is to create this backup partition now.
Am I right to believe that I should use the usb live key and run the installer and specify the remaining 20 GB as the space for this new install?
But is it really worth it? And will it not confuse the bios if there are two versions of kubuntu?
There is no need to re-install kubuntu. That partition is there is you ever want install another version of linux, or need to move stuff over to the backup to do manioopulations. Personally, I don't create backup partitions.
- Top
- Bottom
Leave a comment:
-
Now that you got things working, the next time you are booted into Kubuntu, I would run a command to see and record what your firmware boot setup is, then copy that output to a file to be saved, or even printed!
The command to run, in Kubuntu, is:
Code:sudo efibootmgr -v
- Top
- Bottom
Leave a comment:
-
The only thing I have left to do is to create this backup partition now.
Am I right to believe that I should use the usb live key and run the installer and specify the remaining 20 GB as the space for this new install?
But is it really worth it? And will it not confuse the bios if there are two versions of kubuntu?
- Top
- Bottom
Leave a comment:
-
Originally posted by Robert24 View Post2) I didn't have to do anything to have the home folder ``mounted". It seems to be done automatically. Is there anything I should be careful about? Something which would be different from my previous set-up?
"Fixed" or permanent mounts go into a file named "fstab" under the directory "/etc". So if you open Dolphin (the file manager), click on "Root" in the left column (in this case, root refers to root folder or "/"), then click on folder named "etc" in there you will find the fstab file. Open it and you will see all your drives and/or partitions that are mounted at boot up.
- Top
- Bottom
Leave a comment:
-
Fine. You should now get a boot menu with windows as a choice.
- Top
- Bottom
Leave a comment:
-
Fine. You should now get a boot menu with windows as a choice.
Sent from my ONEPLUS A5010 using Tapatalk
- Top
- Bottom
Leave a comment:
-
Thanks again to all of you for your answers. I feel incredibly relieved and look forward to using my computer again! Even if this situation was somehow tedious for me, I feel much more ``intimate" with my computer now because I know it a bit better.
@mr_raider I entered the command you suggested concerning grup and I received this answer:
Code:~$ sudo update-grub Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.13.0-32-generic Found initrd image: /boot/initrd.img-4.13.0-32-generic Found linux image: /boot/vmlinuz-4.10.0-28-generic Found initrd image: /boot/initrd.img-4.10.0-28-generic Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for EFI firmware configuration done
I have one more question:
2) I didn't have to do anything to have the home folder ``mounted". It seems to be done automatically. Is there anything I should be careful about? Something which would be different from my previous set-up?
BestLast edited by Robert24; Feb 08, 2018, 07:06 AM.
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: