LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2014, 12:30 PM   #1
dcsimmonssr
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
For some reason, when I change the boot flag with fdisk for a drive, it still boots.


I have two drives in my Linux system. They were both set with partition 1 to be bootable. I want it to boot off drive 2 but want access to the files on drive 1.

Using fdisk and toggling the boot of drive 1 so that it doesn't show to boot, and leaving drive 2 to boot seems to do nothing. No matter what I do, It seems to still boot off drive 1. Switching the cables to change the physical order does nothing.

What do I need to do to change the boot order of the drives?
 
Old 08-26-2014, 12:46 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Change the boot priority of the hdd's in bios.
 
Old 08-26-2014, 01:04 PM   #3
dcsimmonssr
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. If you are talking about the system bios, then the bios of this system only allows you to choose the boot order of the "type" of disk, like CdRom, usb, etc. If you have two hard disks, it doesn't allow me to pick which one boots first. One of my other systems with an IBM SCSI controller allows me to choose which disk to boot from. I am using the built-in bios of the motherboard for this. If there is a Linux sort of bios, then I am not familiar enough with it to know where it is.

Thanks again for your reponse.
 
Old 08-26-2014, 01:16 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are these drives ide with jumpers?
 
Old 08-26-2014, 01:19 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i think that boot flag is only read by msdos mbr. grub will try to boot anything so long as it knows how.
 
Old 08-26-2014, 02:22 PM   #6
dcsimmonssr
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
They are Western Digital Raptor 74 gig sata. They have jumpers but the jumpers are for power saving modes I believe. What confuses me is that toggling the boot flag on the partition doesn't stop it from booting?
 
Old 08-26-2014, 04:10 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
all the bios's i used have a method of listing which usb drive/internal drive/cd-rom/floppy/... i would want to boot from 1st/2nd/3rd/...

some bios menus were arranged stupidly but the function was there. whats the make and model of the pc (and also the manufacturer and version of the bios). maybe someone with the same model you have knows how to set it up ?

maybe you can install grub to drive 1 but instruct it to boot from a partition on drive 2 ?

what happens when you unplug either drive ?

Last edited by schneidz; 08-26-2014 at 04:13 PM.
 
Old 08-26-2014, 04:41 PM   #8
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Boot flags in a partition table are a Windows thing. Linux ignores them (technically, bootloaders that Linux uses ignore them). You can set every partition to bootable, or none of them to bootable, and Linux won't care (note: I don't know if you can actually set things this way, but if you can, Linux would still ignore it while Windows would crap its pants).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ran fdisk on new drive from fileserver and got message if I reboot will my boot fail jcottonesr Linux - Newbie 7 10-18-2011 05:36 PM
Change boot flag in TERMINAL Fcukinyahoo Linux - Newbie 3 09-28-2011 05:33 PM
Any reason to change symbolic links in /boot with generic kernel? gibson79 Slackware 2 09-04-2009 09:24 AM
FD2 boots from Sata, add a new ide drive and ssyeme won't boot Hube Linux - Hardware 4 07-07-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration