How can I change the boot flag from one device to another device? SUSE
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
How can I change the boot flag from one device to another device? SUSE
How do you change the boot flag on one device to another device?
Here is my fdisk -l output:
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 4192255 4190208 2G 82 Linux swap / Solaris
/dev/sda2 * 4192256 976773119 972580864 463.8G 83 Linux
/dev/sda3 1044480 8388604 367252212 4.6G 83 Linux
I want to change the boot flag from /dev/sda2 to /dev/sda3. I am running SLES11 SP3.
A server I was working on somehow had the boot flag set on the root filesystem partition instead of the boot partition. As a result I was getting errors that read:
"Error No Active Partition
Operating system not found"
I couldn't find any information online how to simply change the boot flag after booting into the installed system via CD/DVD. I figured someone, somewhere would eventually have the same issue and find this thread helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.