Gentoo Archives: gentoo-user

From: thegeezer <thegeezer@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] making bootable USB
Date: Tue, 02 Sep 2014 16:16:38
Message-Id: 5405ED4E.2090802@thegeezer.net
In Reply to: Re: [gentoo-user] making bootable USB by Joseph
1 On 02/09/14 15:10, Joseph wrote:
2 > On 09/02/14 14:38, thegeezer wrote:
3 >> On 02/09/14 14:10, Joseph wrote:
4 >>> On 09/02/14 10:56, Mick wrote:
5 >>>> On 2 September 2014 09:00, Dale <rdalek1967@×××××.com> wrote:
6 >>>>> Neil Bothwick wrote:
7 >>>>>> On Tue, 02 Sep 2014 01:23:45 -0500, Dale wrote:
8 >>>>>>
9 >>>>>>>> Device Boot Start End Blocks Id System
10 >>>>>>>> /dev/sdb1 * 0 389119 194560 17 Hidden HPFS/NTFS
11 >>>>>>>>
12 >>>>>>> I don't know if it matters or not but on one of my sticks, I get
13 >>>>>>> this:
14 >>>>>>>
15 >>>>>>> Device Boot Start End Blocks Id System
16 >>>>>>> /dev/sde1 * 1 3915775 1957887+ c W95 FAT32 (LBA)
17 >>>>>>>
18 >>>>>>> Mine is FAT32 where yours is NTFS. Could that difference cause
19 >>>>>>> this
20 >>>>>>> problem?
21 >>>>>> No, it's just fdisk trying to guess the type of a filesystem that
22 >>>>>> isn't
23 >>>>>> actually there. I've just run it over 7 distro ISOs and got "Hidden
24 >>>>>> HPFS/NTFS" for 5 of them.
25 >>>>>
26 >>>>> Well, it seems everyone is grasping at straws. So far, that is the
27 >>>>> only
28 >>>>> difference I have seen. It's a head scratcher for sure.
29 >>>>>
30 >>>>> Dale
31 >>>>
32 >>>> There's some more straws to grasp, namely the partition table that the
33 >>>> OP created with fdisk, as well as the first partition on it:
34 >>>>
35 >>>> Assuming the USB is still on /dev/sdb, then use fdisk to delete
36 >>>> partition /dev/sdb1.
37 >>>>
38 >>>> Then manually delete the USB DOS partition table:
39 >>>>
40 >>>> dd if=/dev/zero of=/dev/sdb bs=512 count=1
41 >>>>
42 >>>>
43 >>>> Finally, reinstall the iso once more without creating any partitions
44 >>>> manually:
45 >>>>
46 >>>> dd if=/home/joseph/Downloads/install-amd64-minimal-20140828.iso
47 >>>> of=/dev/sdb
48 >>>>
49 >>>> sync
50 >>>>
51 >>>> NOTE: Make sure that /dev/sdb is indeed your USB stick or you'll
52 >>>> cause damage
53 >>>> to whatever is on /dev/sdb.
54 >>>>
55 >>>> --
56 >>>> Regards,
57 >>>> Mick
58 >>>
59 >>> I just did as you suggested dd if=/dev/zero of=/dev/sdb bs=512 count=1
60 >>> dd if=/home/joseph/Downloads/install-amd64-minimal-20140828.iso
61 >>> of=/dev/sdb
62 >>> sync
63 >>>
64 >>> make no difference, the USB still will not boot.
65 >> What actually happens when you try to boot ?
66 >> do you get any messages?
67 >> some bios will require you to specify usb boot device type of cdrom or
68 >> hard disk
69 >> do you have a press F11 for boot choices menu or similar?
70 >> it could be that you have usb cdrom selected as primary boot device, ide
71 >> disk as secondary and then "other removables" after this.
72 >> please confirm your bios boot orders
73 >>
74 >
75 > Booting sequence is USB and HD. If I will not insert bootable USB it
76 > will boot from HD
77 > It works, as the bootable USB I created with Systemrescue CD script it
78 > worked. When I plug in the USB stick it boots from it.
79 >
80 However, there is a difference between USB-CDROM and USB-HDD and USB-FDD
81 each of these is a different type of device.
82 which is set in your BIOS ?
83 the systemrescue-cd must be a version that your bios recognises, if your
84 bios doesn't like USB-HDD boot then that is most likely the issue you have.
85
86 have you tried installing grub2 and doing a direct iso boot ? the
87 gentoo minimal install cd support doing this for a long time now, and is
88 my preferred route as you can load on the iso images and just change the
89 grub conf menus