Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-31-2022, 11:03 AM
|
#1
|
LQ Newbie
Registered: Jul 2020
Posts: 9
Rep:
|
Moving /boot partition to other disk
Hello,
I have an Oracle Linux VMware virtual machine which has two virtual disks.
On the first disk it is only /boot partition installed and on the other disk it is /root and the rest of OS files installed. Is there any possibility to move the /boot partition from the first disk to the second disk in order to have a VM with only one virtual disk. I want a single disk VM because Oracle Cloud and Azure Cloud supports only single disk VM migration.
BR,
Ilir
|
|
|
09-01-2022, 09:12 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,452
|
I guess the usual resize operations should work on these virtual disks too. Additionally you can also resize the disk itself easily. So you can copy the boot partition to the other disk. You need to make that partition bootable. Actually I don't know if that will work, but you can clone your current disks and work on a copy, so the original system will remain usable as long as the other one is not working properly.
|
|
|
09-01-2022, 01:15 PM
|
#3
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,709
|
make new boot partition
copy files to new boot partition from old boot partition
change entry in /etc/fstab for the new boot partition
unmount old boot partition and mount new boot partition
reinstall bootloader to mbr of drive with the root/boot partitions
Last edited by colorpurple21859; 09-01-2022 at 01:18 PM.
|
|
|
All times are GMT -5. The time now is 04:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|