LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-07-2016, 08:02 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 550

Rep: Reputation: 40
cant set bootable flag


i have several HDs attached to this system ( Scientific Linux 6.5).
Some time ago i installed a windows into /dev/sde and i'm sure i was able to boot into it.
tonight i tried to do that (boot into it ) again but with no success - after BIOS test and selecting the drive to boot - nothing would happened.

So i checked the drive and figured i need a "boot" flag "on", but i can't:
Code:
[root@server ~]# fdisk  -l

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000


Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x25ae25ae

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2              64       19458   155777024   8e  Linux LVM

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00068880

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        9729    78148161   83  Linux
/dev/sdc2            9730       19457    78140160   83  Linux

Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xafcd294d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      243201  1953511008+  83  Linux

Disk /dev/sde: 2045 MB, 2045247488 bytes
47 heads, 46 sectors/track, 1847 cylinders
Units = cylinders of 2162 * 512 = 1106944 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1        1848     1997188+   6  FAT16

<LVM after this >


fdisk  /dev/sde
You will not be able to write the partition table.

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sde: 2045 MB, 2045247488 bytes
47 heads, 46 sectors/track, 1847 cylinders
Units = cylinders of 2162 * 512 = 1106944 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *           1        1848     1997188+   6  FAT16


Command (m for help): w

Unable to write /dev/sde
What am i missing ?
 
Old 10-07-2016, 08:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,922
Blog Entries: 28

Rep: Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589
You might try the boot-repair application.

The fellows on Linux Luddites were singing its praises on their most recent podcast. https://linuxluddites.com/shows/episode-88/

(I've been lucky and never had to use it myself.)
 
1 members found this post helpful.
Old 10-07-2016, 08:09 PM   #3
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 550

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by frankbell View Post
You might try the boot-repair application.

The fellows on Linux Luddites were singing its praises on their most recent podcast. https://linuxluddites.com/shows/episode-88/

(I've been lucky and never had to use it myself.)
actually - it is easier than that - sde is a locked SD card.

// embarrassing...
 
Old 10-07-2016, 08:50 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,922
Blog Entries: 28

Rep: Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589
Quote:
sde is a locked SD card.
If you don't know such things are possible, you don't know to look for them. It's corollary to "if you don't know there's a question, you shouldn't be punished for not asking it." (There are of course certain exceptions to that last statement.)

Your update may help someone else.

When I first found out that SD cards could be locked, it took me back to the floppy disk days . . . .

Last edited by frankbell; 10-07-2016 at 08:56 PM.
 
Old 10-07-2016, 10:24 PM   #5
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 550

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by frankbell View Post
When I first found out that SD cards could be locked, it took me back to the floppy disk days . . . .
indeed. At least we were concious about them. Well and they were noisy too - hard to overlook.
 
  


Reply

Tags
set boot flag


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
What is this Bootable Flag ? lazylogic Debian 5 02-21-2012 07:20 PM
[SOLVED] bootable flag joostlinuxt Linux - Newbie 3 02-16-2011 12:43 PM
bootable flag noonmid27 Linux - Hardware 1 12-21-2006 10:37 AM
cfdisk and bootable flag HippieCat Slackware - Installation 1 08-30-2005 12:24 AM
bootable flag? alaios Debian 1 04-30-2004 12:37 AM

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

All times are GMT -5. The time now is 07:22 AM.

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