Re: Strange booting problem

2015-07-02 Thread jd1008
On 07/02/2015 12:02 PM, Chris Murphy wrote: On Thu, Jul 2, 2015 at 10:56 AM, Rick Stevens wrote: Simply nulling bytes 510 and 511 of the first sector (getting rid of the boot signature) should make the BIOS ignore the drive. That signature applies to the entire MBR, including the partition

Re: Strange booting problem

2015-07-02 Thread Chris Murphy
On Thu, Jul 2, 2015 at 1:27 PM, jd1008 wrote: > > > On 07/02/2015 12:02 PM, Chris Murphy wrote: >> >> On Thu, Jul 2, 2015 at 10:56 AM, Rick Stevens >> wrote: >> >>> Simply nulling bytes 510 and 511 of the first sector (getting rid >>> of the boot signature) should make the BIOS ignore the drive.

Re: Strange booting problem

2015-07-02 Thread jd1008
On 07/02/2015 12:02 PM, Chris Murphy wrote: On Thu, Jul 2, 2015 at 10:56 AM, Rick Stevens wrote: Simply nulling bytes 510 and 511 of the first sector (getting rid of the boot signature) should make the BIOS ignore the drive. That signature applies to the entire MBR, including the partition

Re: Strange booting problem

2015-07-02 Thread Chris Murphy
On Thu, Jul 2, 2015 at 10:56 AM, Rick Stevens wrote: > Simply nulling bytes 510 and 511 of the first sector (getting rid > of the boot signature) should make the BIOS ignore the drive. That signature applies to the entire MBR, including the partition scheme. The signature is not a "boot me" sign

Re: Strange booting problem

2015-07-02 Thread jd1008
On 07/02/2015 10:56 AM, Rick Stevens wrote: On 07/01/2015 02:39 PM, jd1008 wrote: On 07/01/2015 03:14 PM, Matthew Woehlke wrote: On 2015-06-30 19:01, jd1008 wrote: So, how can I proceed with a brand new drive, dd /dev/zero into the first ... say 4K bytes, partition it with fdisk, do not ma

Re: Strange booting problem

2015-07-02 Thread Rick Stevens
On 07/01/2015 02:39 PM, jd1008 wrote: On 07/01/2015 03:14 PM, Matthew Woehlke wrote: On 2015-06-30 19:01, jd1008 wrote: So, how can I proceed with a brand new drive, dd /dev/zero into the first ... say 4K bytes, partition it with fdisk, do not mark any partition bootable, so that bios will sk

Re: Strange booting problem

2015-07-01 Thread jd1008
On 07/01/2015 05:36 PM, Chris Murphy wrote: On Wed, Jul 1, 2015 at 4:37 PM, jd1008 wrote: So, let me ask a simple question. Technically (I mean programatically), how difficult is it to fix both BIOS and fdisk so that unless a partition is marked as bootable, the partition table will not cont

Re: Strange booting problem

2015-07-01 Thread Chris Murphy
On Wed, Jul 1, 2015 at 4:37 PM, jd1008 wrote: > So, let me ask a simple question. > Technically (I mean programatically), how difficult is it to > fix both BIOS and fdisk so that unless a partition is marked > as bootable, the partition table will not contain the boot signature > and BIOS will st

Re: Strange booting problem

2015-07-01 Thread jd1008
On 07/01/2015 04:32 PM, Chris Murphy wrote: On Wed, Jul 1, 2015 at 3:39 PM, jd1008 wrote: On 07/01/2015 03:14 PM, Matthew Woehlke wrote: On 2015-06-30 19:01, jd1008 wrote: So, how can I proceed with a brand new drive, dd /dev/zero into the first ... say 4K bytes, partition it with fdisk, d

Re: Strange booting problem

2015-07-01 Thread Chris Murphy
On Wed, Jul 1, 2015 at 3:39 PM, jd1008 wrote: > > > On 07/01/2015 03:14 PM, Matthew Woehlke wrote: >> >> On 2015-06-30 19:01, jd1008 wrote: >>> >>> So, how can I proceed with a brand new drive, >>> dd /dev/zero into the first ... say 4K bytes, partition >>> it with fdisk, do not mark any partition

Re: Strange booting problem

2015-07-01 Thread jd1008
On 07/01/2015 03:14 PM, Matthew Woehlke wrote: On 2015-06-30 19:01, jd1008 wrote: So, how can I proceed with a brand new drive, dd /dev/zero into the first ... say 4K bytes, partition it with fdisk, do not mark any partition bootable, so that bios will skip over it ? Don't know why no one's m

Re: Strange booting problem

2015-07-01 Thread Matthew Woehlke
On 2015-06-30 19:01, jd1008 wrote: > So, how can I proceed with a brand new drive, > dd /dev/zero into the first ... say 4K bytes, partition > it with fdisk, do not mark any partition bootable, so > that bios will skip over it ? Don't know why no one's mentioned this, but... you could always just

Re: Strange booting problem

2015-06-30 Thread Ronal B Morse
On 06/30/2015 06:04 PM, jd1008 wrote: On 06/30/2015 05:59 PM, Chris Murphy wrote: Actually, another option is to put the legacy OS into a VM where it can then inherit some of the features of Linux, including LVM support. Then you can LVM this external drive instead of partitioning it, and then

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:59 PM, Chris Murphy wrote: > Actually, another option is to put the legacy OS into a VM where it > can then inherit some of the features of Linux, including LVM support. > Then you can LVM this external drive instead of partitioning it, and > then make an LV (or two or th

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:59 PM, Chris Murphy wrote: Actually, another option is to put the legacy OS into a VM where it can then inherit some of the features of Linux, including LVM support. Then you can LVM this external drive instead of partitioning it, and then make an LV (or two or three or whateve

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
Actually, another option is to put the legacy OS into a VM where it can then inherit some of the features of Linux, including LVM support. Then you can LVM this external drive instead of partitioning it, and then make an LV (or two or three or whatever) to use as backing for the VM, and then those

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:42 PM, Chris Murphy wrote: On Tue, Jun 30, 2015 at 5:38 PM, jd1008 wrote: On 06/30/2015 05:33 PM, Chris Murphy wrote: On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer wrote: So you could dd 512 bytes of /dev/zero to the drive, or use "wipefs -a /dev/sdX", then use parted

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:43 PM, jd1008 wrote: >> What OS are you booting that won't read GPT? > > It is an OS that existed before GPT I still use it > because it has purchased SW that is too expensive to replace > with versions for more modern OS. > `nough said :) :) > Full circle. N

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:38 PM, jd1008 wrote: > > > On 06/30/2015 05:33 PM, Chris Murphy wrote: >> >> On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer >> wrote: >> >>> So you could dd 512 bytes of /dev/zero to the drive, or use "wipefs -a >>> /dev/sdX", then use parted to "mktable gpt" and set up

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:38 PM, Gordon Messmer wrote: On 06/30/2015 04:11 PM, jd1008 wrote: Since my internal drive is dual boot, I do need to boot an OS that does not recognize GPT :( What OS are you booting that won't read GPT? It is an OS that existed before GPT I still use it because it h

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 04:33 PM, Chris Murphy wrote: That will not work. Parted replaces the PMBR in such a case. So does gdisk. Today I learned too many things. Thanks, Chris. :) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproj

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:33 PM, Chris Murphy wrote: On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer wrote: So you could dd 512 bytes of /dev/zero to the drive, or use "wipefs -a /dev/sdX", then use parted to "mktable gpt" and set up partitions. That will not work. Parted replaces the PMBR in such a

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 04:11 PM, jd1008 wrote: Since my internal drive is dual boot, I do need to boot an OS that does not recognize GPT :( What OS are you booting that won't read GPT? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedor

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:28 PM, jd1008 wrote: > I wonder if BIOS manufacturer's are reading this list and taking note :) :) They have and they say to upgrade to UEFI. This is a very long thread just to arrive at the conclusion that BIOS behavior isn't ideal for your use case. The expectation i

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 04:10 PM, Chris Murphy wrote: However, also based on testing, it seems that if you used GPT for your >partitions, then BIOS would skip over the drive during the boot process. No because every GPT creator also creates a PMBR which includes the MBR boot signature that you're telling

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer wrote: > So you could dd 512 bytes of /dev/zero to the drive, or use "wipefs -a > /dev/sdX", then use parted to "mktable gpt" and set up partitions. That will not work. Parted replaces the PMBR in such a case. So does gdisk. wipefs -a after parted

Re: Strange booting problem

2015-06-30 Thread Joe Zeff
On 06/30/2015 03:41 PM, jd1008 wrote: So, it begs the question: No it doesn't, it asks the question. Begging the question means something entirely different (https://en.wikipedia.org/wiki/Begging_the_question) and the fact that many people misuse it that way doesn't change the meaning. --

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 04:13 PM, Patrick O'Callaghan wrote: On Tue, 2015-06-30 at 17:11 -0600, jd1008 wrote: So, it begs the question: (that's not what "begs the question" means) For my case it does cause me to ask : The conundrum of my situation does indeed lead me to ask that question. If you think i

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:13 PM, Patrick O'Callaghan wrote: On Tue, 2015-06-30 at 17:11 -0600, jd1008 wrote: So, it begs the question: (that's not what "begs the question" means) For my case it does cause me to ask : The conundrum of my situation does indeed lead me to ask that question. If you think

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 04:01 PM, jd1008 wrote: So, how can I proceed with a brand new drive, dd /dev/zero into the first ... say 4K bytes, partition it with fdisk, do not mark any partition bootable, so that bios will skip over it ? Based on testing, it looks like any use of MBR will cause your BIOS to

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
UEFI spec 2.4.0 suggests the PMBR is optional. 5.2.3 "A Protective MBR may be located at LBA 0 (i.e. the first logical block) of the disk if it is using the GPT disk layout. The Protective MBR precedes the GUID Partition Table Header to maintain compatibility with existing tools that do not unders

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:13 PM, jd1008 wrote: > OMG!!! > LVM!!! > The other OS will most certainly NOT be able to make use > of that drive :) :) OK so you have two options. -Change the BIOS boot order. - Use GPT and after making all changes either zero out LBA 0 or otherwise invalidate the MB

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:13 PM, Gordon Messmer wrote: > On 06/30/2015 03:18 PM, Chris Murphy wrote: >> >> 2. The most likely explanation for the problem, as someone else >> alluded to, is the USB drive has stale bootloader code on it that >> points to no where and hangs. > > > One of jd's earlier

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 03:18 PM, Chris Murphy wrote: 2. The most likely explanation for the problem, as someone else alluded to, is the USB drive has stale bootloader code on it that points to no where and hangs. One of jd's earlier messages included the boot sector. It was mostly nul bytes. The so

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:10 PM, Chris Murphy wrote: On Tue, Jun 30, 2015 at 5:02 PM, Gordon Messmer wrote: On 06/30/2015 03:41 PM, jd1008 wrote: So, it begs the question: (that's not what "begs the question" means) Yes. It's an accusation. Can I create a disk with msdos partitioning scheme, non

Re: Strange booting problem

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 17:11 -0600, jd1008 wrote: > >> So, it begs the question: > > > > (that's not what "begs the question" means) > For my case it does cause me to ask : The conundrum of my situation > does indeed lead me to ask that question. > If you think it does not mean that - then please en

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
Yet another possibility is to GPT partition the disk and then zero LBA 0 (the PMBR). Now to any MBR only utility, it will appear to be a blank drive and hence dangerously unprotected. But, being lazy I won't go look for this, I don't think the UEFI spec requires a PMBR on GPT disks, it can just hav

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 05:02 PM, Gordon Messmer wrote: On 06/30/2015 03:41 PM, jd1008 wrote: So, it begs the question: (that's not what "begs the question" means) For my case it does cause me to ask : The conundrum of my situation does indeed lead me to ask that question. If you think it does not me

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:02 PM, Gordon Messmer wrote: > On 06/30/2015 03:41 PM, jd1008 wrote: >> >> So, it begs the question: > > > (that's not what "begs the question" means) Yes. It's an accusation. > >> Can I create a disk with msdos partitioning scheme, >> none of the partitions marked as b

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 03:41 PM, jd1008 wrote: So, it begs the question: (that's not what "begs the question" means) Can I create a disk with msdos partitioning scheme, none of the partitions marked as bootable, and have bios quickly skip over it to the next device in the boot sequence? So far it l

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 04:56 PM, Gordon Messmer wrote: On 06/30/2015 03:32 PM, jd1008 wrote: So, with this kind of change, it destroys the partition table. So it does. :( Well, that's disappointing. Educational, but disappointing. I missed that in testing because the bootable media I was using wro

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 04:54 PM, Chris Murphy wrote: I just set Vbox boot order to HD > CD/DVD. And added a new blank VDI for the HD, and a Fedora 22 Live CD ISO for the CD. And it boots from the CD. So the HD is clearly skipped. If I partition the HD with fdisk with a single partition and no boot flag

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 03:32 PM, jd1008 wrote: So, with this kind of change, it destroys the partition table. So it does. :( Well, that's disappointing. Educational, but disappointing. I missed that in testing because the bootable media I was using wrote both an MBR and GPT labels to the USB drive.

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
I just set Vbox boot order to HD > CD/DVD. And added a new blank VDI for the HD, and a Fedora 22 Live CD ISO for the CD. And it boots from the CD. So the HD is clearly skipped. If I partition the HD with fdisk with a single partition and no boot flag, I get the same result. So clearly this BIOS is

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:44 PM, Gordon Messmer wrote: > On 06/30/2015 03:17 PM, jd1008 wrote: >> >> The link you refer to >> talks about the 2 bytes past byte 255, they they are >> bytes 256 and 257. > > > No, they're the two byte block at the 255th block of two bytes. > > https://en.wikipedia.or

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:41 PM, jd1008 wrote: > So, it begs the question: > Can I create a disk with msdos partitioning scheme, > none of the partitions marked as bootable, and have bios > quickly skip over it to the next device in the boot sequence? If you partition the disk you want skipped w

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 03:17 PM, jd1008 wrote: The link you refer to talks about the 2 bytes past byte 255, they they are bytes 256 and 257. No, they're the two byte block at the 255th block of two bytes. https://en.wikipedia.org/wiki/Master_boot_record Again, bytes 0-446 are boot code. Bytes 256 and

Re: Strange booting problem

2015-06-30 Thread jd1008
On 06/30/2015 04:36 PM, Chris Murphy wrote: On Tue, Jun 30, 2015 at 4:32 PM, jd1008 wrote: Here is what happened after the 2 bytes at offset 511 and 512 were null'ed: fdisk /dev/sdb Welcome to fdisk (util-linux 2.24.2). Changes will remain in memory only, until you decide to write them. Be

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:32 PM, jd1008 wrote: > Here is what happened after the 2 bytes at offset 511 and 512 were null'ed: > > fdisk /dev/sdb > > Welcome to fdisk (util-linux 2.24.2). > Changes will remain in memory only, until you decide to write them. > Be careful before using the write comman

Re: Strange booting problem - Off list

2015-06-30 Thread jd1008
On 06/30/2015 04:32 PM, Gordon Messmer wrote: On 06/30/2015 03:04 PM, jd1008 wrote: dd if=/dev/sdb bs=2 count=1 skip=255 2>/dev/null | od -x 000 aa55 If these are the bytes that indicate a boot signature, can they be "null'ed" safely?? Doing so worked for me, when testing under SeaBIOS.

Re: Strange booting problem

2015-06-30 Thread jd1008
Here is what happened after the 2 bytes at offset 511 and 512 were null'ed: fdisk /dev/sdb Welcome to fdisk (util-linux 2.24.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table.

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:04 PM, jd1008 wrote: > > Hi Rick, > Re: my /dev/sdb: > > > dd if=/dev/sdb bs=2 count=1 skip=255 2>/dev/null | od -x > 000 aa55 > 002 > > If these are the bytes that indicate a boot signature, > can they be "null'ed" safely?? How do you define safely? It means the

Re: Strange booting problem - Off list

2015-06-30 Thread Gordon Messmer
On 06/30/2015 03:04 PM, jd1008 wrote: dd if=/dev/sdb bs=2 count=1 skip=255 2>/dev/null | od -x 000 aa55 If these are the bytes that indicate a boot signature, can they be "null'ed" safely?? Doing so worked for me, when testing under SeaBIOS. dd if=/dev/zero bs=2 count=1 seek=255 of=/dev/s

Re: Strange booting problem

2015-06-30 Thread Rick Stevens
On 06/30/2015 03:19 PM, Rick Stevens wrote: On 06/30/2015 03:17 PM, jd1008 wrote: The link you refer to talks about the 2 bytes past byte 255, they they are bytes 256 and 257. No, you set the block size to 2, so you are seeking (2 * 255) or 512 bytes into the disk. Grrr! 2 * 255 = 510 bytes

Re: Strange booting problem

2015-06-30 Thread Rick Stevens
On 06/30/2015 03:17 PM, jd1008 wrote: The link you refer to talks about the 2 bytes past byte 255, they they are bytes 256 and 257. No, you set the block size to 2, so you are seeking (2 * 255) or 512 bytes into the disk. But I already indicated the 466 bytes are null... in another usb drive

Re: Strange booting problem

2015-06-30 Thread Chris Murphy
observations: 1. GRUB's boot.img, the 440 bytes of code in the MBR/LBA 0, does not use the partition active bit (the boot flag). So boot flag is irrelevant in a GRUB context. The GRUB boot.img code contains the specific LBA to jump to where core.img is found, which on MBR disks is in the MBR gap.

Re: Strange booting problem

2015-06-30 Thread jd1008
The link you refer to talks about the 2 bytes past byte 255, they they are bytes 256 and 257. But I already indicated the 466 bytes are null... in another usb drive I tested, thus no boot signature - and yet, bios hung forever because that disk was 2nd in boot order after cd/dvd drive, and befo

Re: Strange booting problem - Off list

2015-06-30 Thread jd1008
Hi Rick, Re: my /dev/sdb: dd if=/dev/sdb bs=2 count=1 skip=255 2>/dev/null | od -x 000 aa55 002 If these are the bytes that indicate a boot signature, can they be "null'ed" safely?? Thanx. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription opt

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/30/2015 02:28 PM, jd1008 wrote: I already explained to you 1. The disk is partitioned using fdisk. 2. I cleared the 446 bytes to nulls. 3. None of the partitions have a boot signature. The boot signature is at bytes 511 and 512, and you indicated that it is present: https://lists.fedora

Re: Strange booting problem

2015-06-30 Thread jd1008
I already explained to you 1. The disk is partitioned using fdisk. 2. I cleared the 446 bytes to nulls. 3. None of the partitions have a boot signature. You comment "bug" is not a word for "something I don't understand" or "something I don't like." is so totally irrelevant to what I have alrea

Re: Strange booting problem

2015-06-30 Thread Gordon Messmer
On 06/26/2015 07:35 PM, jd1008 wrote: I have been googling and read wikis. None of them really explain clearly If 1. a drive has no bootable partitions and 2. the boot code in the 1st 446 bytes does not exist (all nulls) then how does bios decide it is not bootable, move on to the nex

Re: Strange booting problem

2015-06-26 Thread Tod Merley
perhaps the drive firmware presents the drive as bootable when first awakened .. to load driver like software .. or perhaps malware ... On Fri, Jun 26, 2015 at 7:35 PM, jd1008 wrote: > > > On 06/26/2015 06:09 PM, Rick Stevens wrote: > >> On 06/26/2015 04:42 PM, jd1008 wrote: >> >>> >>> >>> On 06

Re: Strange booting problem

2015-06-26 Thread jd1008
On 06/26/2015 06:09 PM, Rick Stevens wrote: On 06/26/2015 04:42 PM, jd1008 wrote: On 06/26/2015 05:29 PM, Rick Stevens wrote: On 06/26/2015 04:05 PM, jd1008 wrote: On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the

Re: Strange booting problem

2015-06-26 Thread jd1008
On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that my usb drive is bootable. The bytes you already saw are obviously not boot code. W

Re: Strange booting problem

2015-06-26 Thread Rick Stevens
On 06/26/2015 04:42 PM, jd1008 wrote: On 06/26/2015 05:29 PM, Rick Stevens wrote: On 06/26/2015 04:05 PM, jd1008 wrote: On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot co

Re: Strange booting problem

2015-06-26 Thread Rick Stevens
On 06/26/2015 04:29 PM, Rick Stevens wrote: On 06/26/2015 04:05 PM, jd1008 wrote: On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that m

Re: Strange booting problem

2015-06-26 Thread jd1008
On 06/26/2015 05:29 PM, Rick Stevens wrote: On 06/26/2015 04:05 PM, jd1008 wrote: On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that

Re: Strange booting problem

2015-06-26 Thread Rick Stevens
On 06/26/2015 04:05 PM, jd1008 wrote: On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that my usb drive is bootable. The bytes you alread

Re: Strange booting problem

2015-06-26 Thread Gordon Messmer
On 06/26/2015 04:05 PM, jd1008 wrote: Where do device (or partition) labels reside? In the partitions? In MBR, partitions don't have labels. Filesystems do regardless of what container they're in. In GPT, partitions have 72 bytes for a label/name. https://en.wikipedia.org/wiki/Master_boot_

Re: Strange booting problem

2015-06-26 Thread jd1008
On 06/26/2015 04:55 PM, Gordon Messmer wrote: On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that my usb drive is bootable. The bytes you already saw are obviously not boot code. W

Re: Strange booting problem

2015-06-26 Thread Gordon Messmer
On 06/26/2015 02:51 PM, jd1008 wrote: Just wondering about the bytes in the first sector which you thought might be boot code that is confusing BIOS to think that my usb drive is bootable. The bytes you already saw are obviously not boot code. What is obvious to you is not obvious to the CPU,

Re: Strange booting problem

2015-06-26 Thread jd1008
On 06/25/2015 03:32 PM, Gordon Messmer wrote: On 06/25/2015 11:33 AM, jd1008 wrote: I bought the usb drive brand new and had not installed anything on it. Just partitioned it and used it. So, how could it contain any boot code? Is this what manufacturers do by default? I had not encountered th

Re: Strange booting problem

2015-06-25 Thread Gordon Messmer
On 06/25/2015 03:55 PM, jd1008 wrote: OK, but since this drive is my only backup drive, I feel I cannot run dd to clobber those 466 bytes :( Too risky, even if I feel nothing can go wrong, but ... murphy's law Re: sda1: here is the output: dd if=/dev/sda bs=2 count=1 skip=255 2>/dev/null |

Re: Strange booting problem

2015-06-25 Thread jd1008
On 06/25/2015 04:26 PM, Gordon Messmer wrote: On 06/25/2015 02:51 PM, jd1008 wrote: Is the; \0 305 033 the cause of the problem for BIOS? Possibly? Though, I should have also suggested that you check bytes at 0x1FE and 0x1FF: # dd if=/dev/sda bs=2 count=1 skip=255 2>/dev/null |

Re: Strange booting problem

2015-06-25 Thread Gordon Messmer
On 06/25/2015 02:51 PM, jd1008 wrote: Is the; \0 305 033 the cause of the problem for BIOS? Possibly? Though, I should have also suggested that you check bytes at 0x1FE and 0x1FF: # dd if=/dev/sda bs=2 count=1 skip=255 2>/dev/null | od -x 000 aa55 002 Those bytes are a sig

Re: Strange booting problem

2015-06-25 Thread jd1008
On 06/25/2015 03:32 PM, Gordon Messmer wrote: On 06/25/2015 11:33 AM, jd1008 wrote: I bought the usb drive brand new and had not installed anything on it. Just partitioned it and used it. So, how could it contain any boot code? Is this what manufacturers do by default? I had not encountered th

Re: Strange booting problem

2015-06-25 Thread Gordon Messmer
On 06/25/2015 11:33 AM, jd1008 wrote: I bought the usb drive brand new and had not installed anything on it. Just partitioned it and used it. So, how could it contain any boot code? Is this what manufacturers do by default? I had not encountered this issue you raise before. Have a look at it:

Re: Strange booting problem

2015-06-25 Thread jd1008
On 06/25/2015 11:22 AM, Gordon Messmer wrote: On 06/24/2015 05:47 PM, jd1008 wrote: Well, that is strange!!! It really says that BIOS is busted and does not have the good sense to realize the drive is not bootable - just as in the case of having an audio CD in the CD drive, and it ignores the

Re: Strange booting problem

2015-06-25 Thread Gordon Messmer
On 06/24/2015 05:47 PM, jd1008 wrote: Well, that is strange!!! It really says that BIOS is busted and does not have the good sense to realize the drive is not bootable - just as in the case of having an audio CD in the CD drive, and it ignores the presenc of the audio CD and moves on to the next

Re: Strange booting problem

2015-06-25 Thread Tim
On Wed, 2015-06-24 at 18:36 -0600, jd1008 wrote: > OK, so how long before bios times out and move on > to the internal HD? The usb drive, which is > NOT bootable, has no booter installed, and > neither one of it's partitions are bootable: Some BIOSs will not do that. I have one PC that cannot be

Re: Strange booting problem

2015-06-24 Thread jd1008
On 06/24/2015 07:13 PM, Rick Stevens wrote: On 06/24/2015 05:47 PM, jd1008 wrote: On 06/24/2015 06:40 PM, Rick Stevens wrote: On 06/24/2015 05:36 PM, jd1008 wrote: On 06/24/2015 06:25 PM, Rick Stevens wrote: On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens w

Re: Strange booting problem

2015-06-24 Thread Rick Stevens
On 06/24/2015 05:47 PM, jd1008 wrote: On 06/24/2015 06:40 PM, Rick Stevens wrote: On 06/24/2015 05:36 PM, jd1008 wrote: On 06/24/2015 06:25 PM, Rick Stevens wrote: On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: L

Re: Strange booting problem

2015-06-24 Thread jd1008
On 06/24/2015 06:40 PM, Rick Stevens wrote: On 06/24/2015 05:36 PM, jd1008 wrote: On 06/24/2015 06:25 PM, Rick Stevens wrote: On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 wi

Re: Strange booting problem

2015-06-24 Thread Rick Stevens
On 06/24/2015 05:36 PM, jd1008 wrote: On 06/24/2015 06:25 PM, Rick Stevens wrote: On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power u

Re: Strange booting problem

2015-06-24 Thread jd1008
On 06/24/2015 06:25 PM, Rick Stevens wrote: On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I d

Re: Strange booting problem

2015-06-24 Thread jd1008
On 06/24/2015 06:24 PM, Ralf Corsepius wrote: On 06/25/2015 02:07 AM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I

Re: Strange booting problem

2015-06-24 Thread Ralf Corsepius
On 06/25/2015 02:07 AM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I do not get the grub menu. All I get is an empty

Re: Strange booting problem

2015-06-24 Thread Rick Stevens
On 06/24/2015 05:07 PM, jd1008 wrote: On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I do not get the grub menu. All I get is an empty

Re: Strange booting problem

2015-06-24 Thread jd1008
On 06/24/2015 05:57 PM, Rick Stevens wrote: On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I do not get the grub menu. All I get is an empty screen with the underscore cursor blink

Re: Strange booting problem

2015-06-24 Thread Rick Stevens
On 06/24/2015 04:25 PM, jd1008 wrote: Laptop: Dell Latitude E6510. OS: F20 with all updates Grub installed on sda. Power up ,and after bios's internal works, I do not get the grub menu. All I get is an empty screen with the underscore cursor blinking at upper left corner. Reboot. Press F12 t