Re: booting from gpt/raid?

2018-07-05 Thread MLH
MLH wrote:
> Andreas Gustafsson wrote:
> > MLH wrote:
> > > Boot Options are:
> > >  Hard Drive, CDROM, USB-FDD, USB-ZIP, USB-CDROM, USB-HDD, Legacy LAN
> > 
> > A USB memory stick emulates a hard drive, so USB-HDD should work.
> 
> I tried it again and apparently I didn't wait long enough before.
> After about five minutes, it loads the NetBSD boot loader but after
> about 10 minutes more it gets an I/O error so I'll try to investigate
> that.

It is working now. It takes just under 12 minutes to start loading
/netbsd off of the temp wd0a from the live-sd0 img dd'ed to a usb
stick.

While not very convenient, it's workable. Still would like to get
the live image booting from a dvd. Would be immensely quicker.

Thanks to all


Re: booting from gpt/raid?

2018-07-05 Thread MLH
Thomas Mueller wrote:
> Does CDROM on your boot options include DVD?

Yes. That's what I used to recover my temp boot disk and it works
great. In a separate message I mentioned I was attempting to build
a custom Live DVD but I can't figure out the new way of creating
a bootable CD/DVD since floppy boot images are gone and the Live
images build.sh builds are not isos.

Anyone know it's done now?



Re: booting from gpt/raid?

2018-07-05 Thread Thomas Mueller
from MLH:

> Andreas Gustafsson wrote:
> > MLH wrote:
> > > Boot Options are:
> > >  Hard Drive, CDROM, USB-FDD, USB-ZIP, USB-CDROM, USB-HDD, Legacy LAN

> > A USB memory stick emulates a hard drive, so USB-HDD should work.

> I tried it again and apparently I didn't wait long enough before.
> After about five minutes, it loads the NetBSD boot loader but after
> about 10 minutes more it gets an I/O error so I'll try to investigate
> that.

My MSI motherboards have LAN and PXE boot, but I don't think the LAN is legacy.

You could possibly try USB-FDD or USB-ZIP, but these might have different disk 
formats.

I remember seeing something in (I believe it was Syslinux) about 
formatting/partitioning a USB stick to make it look like an Iomega Zip drive.

Does anybody still make floppy disks, or USB floppy drives?  Modern 
motherboards have no floppy headers.

I browsed iomega.com and got a domain-parking site (Iomega is no longer there).

My experience with Gigabyte is less than favorable.

Does CDROM on your boot options include DVD?

Tom


Re: booting from gpt/raid?

2018-07-05 Thread MLH
Andreas Gustafsson wrote:
> MLH wrote:
> > Boot Options are:
> >  Hard Drive, CDROM, USB-FDD, USB-ZIP, USB-CDROM, USB-HDD, Legacy LAN
> 
> A USB memory stick emulates a hard drive, so USB-HDD should work.

I tried it again and apparently I didn't wait long enough before.
After about five minutes, it loads the NetBSD boot loader but after
about 10 minutes more it gets an I/O error so I'll try to investigate
that.

Thanks


Re: booting from gpt/raid?

2018-07-05 Thread Andreas Gustafsson
MLH wrote:
> Boot Options are:
>  Hard Drive, CDROM, USB-FDD, USB-ZIP, USB-CDROM, USB-HDD, Legacy LAN

A USB memory stick emulates a hard drive, so USB-HDD should work.
-- 
Andreas Gustafsson, g...@gson.org


Re: booting from gpt/raid?

2018-07-05 Thread Chavdar Ivanov
My HP Envy laptop boots netbsd in both efi and bios modes, from internal
sata disk and external usb one. Both modes are enabled simultaneously. My
default efi boot is rEFInd, works fine for me. I installed NetBSD-current
on some free space at the end of a gpt disk which already contained a
couple of Linux distributions and some Windows data, following the outline
described above. rEFInd also automatically recognises other systems on
external disks and can boot them (usually; in some cases this didn't work,
e.g. with a Fedora on some external mbr disk, in which case I had to get in
front of rEFInd with F9 and choose the disk directly).

So obviously it depends on the bios/efi capabilities.


On Wed, 4 Jul 2018 at 08:51, Thomas Mueller  wrote:

> from MLH:
>
> > Well, not so great. Once the bios detects an EFI boot drive on the
> > system, it attempts to load that, regardless of any other non-EFI
> > boot drive you specify. So to boot from the temp non-EFI boot drive,
> > the EFI drives have to be disconnected until the NetBSD boot loader
> > has started and then I apply power to the EFI drives to bring them
> > up and then boot NetBSD.
>
> > Somewhere in that scenario, to boot from the non-EFI drive, NetBSD
> > started requiring to run /var/run/lvm and it wouldn't run.  The
> > only way I could boot from that drive was to 'update' the os from
> > cd again, so something apparently got hosed. No idea what.
>
> > Needless to say, the EFI drives didn't boot. Not sure why yet.
> > "Booting Operating System" showed then the cursor moved down,
> > possibly attempting to display something, then kept cycling back
> > and from bwtween those two.
>
> My systems have UEFI, but I can boot USB sticks in non-EFI mode.
>
> I can boot the System Rescue CD either way (UEFI or non-UEFI), written to
> USB stick.
>
> Maybe it depends on the motherboard?
>
> Tom
>


Re: booting from gpt/raid?

2018-07-05 Thread MLH
Thomas Mueller wrote:
> from MLH:
> 
> > Scratch the request for usb stick boot. My motherboard doesn't
> > appear to allow it. I'll see if I can build a cd that I can boot
> > off of and transfer to the hard drive for the system.
> 
> > Thanks anyway
> 
> I thought all modern PC motherboards could boot from USB stick. 

This is a Gigabyte from around 2012/2013 IIRC. 
 
> What do you see when you reboot and go into the UEFI setup and configuration?

UEFI configuration shows only CD/DVD boot and as mentioned before,
only implies UEFI hard drive boot.

> How are you supposed to install any OS, including MS-Windows, starting from a 
> blank hard drive?
> How are you supposed to recover if something happens and you can't boot from 
> the hard disk?

Boot Options are:
 Hard Drive, CDROM, USB-FDD, USB-ZIP, USB-CDROM, USB-HDD, Legacy LAN

> Are you not able to boot from any USB port? 

Apparently not from a memory stick