Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-30 Thread Ed Maste
On 30 May 2018 at 18:08, Philip Homburg  wrote:
>>Strange. Can you try an updated test image of mine
>>(https://people.freebsd.org/~emaste/mini-image-2018-05-28.xz)

Oops - that should have been
https://people.freebsd.org/~emaste/mini-image-2018-05-28-amd64.xz

But the most recent snapshot images have been built the same way now:
https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/12.0/FreeBSD-12.0-CURRENT-amd64-20180529-r334337-mini-memstick.img
https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/12.0/FreeBSD-12.0-CURRENT-amd64-20180529-r334337-memstick.img
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-30 Thread Philip Homburg
>Strange. Can you try an updated test image of mine
>(https://people.freebsd.org/~emaste/mini-image-2018-05-28.xz) 

That gives a 404.

I have the strong suspision that your previous image doesn't get recognized as
bootable because the C/H/S values are not filled in.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-30 Thread Glen Barber
On Wed, May 30, 2018 at 08:29:57AM -0700, Rodney W. Grimes wrote:
> > On 25 May 2018 at 04:51, Philip Homburg  wrote:
> > >
> > > I have bad news and some good news.
> > >
> > > The bad news is that with this image the USB stick doesn't get recognized 
> > > as
> > > a boot device. Same as with the 11.2-BETA2 images.
> > 
> > At least it's not a regression.
> > 
> > > The good news is that if I completely recreate the MBR, keeping the 
> > > layout of
> > > the partitions the same, then the USB stick is recognized.
> > 
> > Strange. Can you try an updated test image of mine
> > (https://people.freebsd.org/~emaste/mini-image-2018-05-28.xz) or this
> > week's -CURRENT snapshot?
> 
> What version(s) of the snapshots sould be tested?
> disc1.iso?  dvd1.iso? memstick?
> 

The *memstick.img for amd64, from this week.  (20180529 r334337)

https://lists.freebsd.org/pipermail/freebsd-snapshots/2018-May/000411.html

Glen



signature.asc
Description: PGP signature


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-30 Thread Rodney W. Grimes
> On 25 May 2018 at 04:51, Philip Homburg  wrote:
> >
> > I have bad news and some good news.
> >
> > The bad news is that with this image the USB stick doesn't get recognized as
> > a boot device. Same as with the 11.2-BETA2 images.
> 
> At least it's not a regression.
> 
> > The good news is that if I completely recreate the MBR, keeping the layout 
> > of
> > the partitions the same, then the USB stick is recognized.
> 
> Strange. Can you try an updated test image of mine
> (https://people.freebsd.org/~emaste/mini-image-2018-05-28.xz) or this
> week's -CURRENT snapshot?

What version(s) of the snapshots sould be tested?
disc1.iso?  dvd1.iso? memstick?

-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-30 Thread Ed Maste
On 25 May 2018 at 04:51, Philip Homburg  wrote:
>
> I have bad news and some good news.
>
> The bad news is that with this image the USB stick doesn't get recognized as
> a boot device. Same as with the 11.2-BETA2 images.

At least it's not a regression.

> The good news is that if I completely recreate the MBR, keeping the layout of
> the partitions the same, then the USB stick is recognized.

Strange. Can you try an updated test image of mine
(https://people.freebsd.org/~emaste/mini-image-2018-05-28.xz) or this
week's -CURRENT snapshot?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-25 Thread Philip Homburg
>Can you download the image from
>https://people.freebsd.org/~emaste/mini-image.amd64.xz, uncompress and
>write it to a USB stick and try on this system? This is a
>MBR-partitioned dual-mode test image. It's not an installer - it
>should just boot to a login prompt - but can be used to test this
>scheme.

I have bad news and some good news.

The bad news is that with this image the USB stick doesn't get recognized as
a boot device. Same as with the 11.2-BETA2 images.

The good news is that if I completely recreate the MBR, keeping the layout of
the partitions the same, then the USB stick is recognized.

The weird news is that it then proceeds to boot from harddisk. But that may
be an issue with the boot code I put on.

So the issue is limited to the MBR. 

I'll try to figure out what exactly makes the difference. 


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-24 Thread Rodney W. Grimes
> On 23 May 2018 at 17:51, Philip Homburg  wrote:
> > I tried both FreeBSD-11.2-BETA2-amd64-bootonly.iso.xz and
> > FreeBSD-11.2-BETA2-amd64-mini-memstick.img.xz on a Dell PowerEdge 2950
> > BIOS version 2.7.0. With both images, the USB stick is not recognized.
> 
> Can you download the image from
> https://people.freebsd.org/~emaste/mini-image.amd64.xz, uncompress and
> write it to a USB stick and try on this system? This is a
> MBR-partitioned dual-mode test image. It's not an installer - it
> should just boot to a login prompt - but can be used to test this
> scheme.

Ed,
I tested this here on my R710 that was failing to boot in
Bios mode with the amd64-11.2-Beta2 disc1.iso, your
mini-image boots fine in either Bios or UEFI mode
on  my Dell R710, so what ever you did fixed at
least my one data point.



-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-24 Thread Johannes Lundberg
On Thu, May 24, 2018 at 2:11 PM Ed Maste  wrote:

> On 23 May 2018 at 17:51, Philip Homburg  wrote:
> > I tried both FreeBSD-11.2-BETA2-amd64-bootonly.iso.xz and
> > FreeBSD-11.2-BETA2-amd64-mini-memstick.img.xz on a Dell PowerEdge 2950
> > BIOS version 2.7.0. With both images, the USB stick is not recognized.
>
> Can you download the image from
> https://people.freebsd.org/~emaste/mini-image.amd64.xz, uncompress and
> write it to a USB stick and try on this system? This is a
> MBR-partitioned dual-mode test image. It's not an installer - it
> should just boot to a login prompt - but can be used to test this
> scheme.
>

Tested successfully on Dell Latitude E7450 for both legacy BIOS and UEFI
boot mode.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-24 Thread Ed Maste
On 23 May 2018 at 17:51, Philip Homburg  wrote:
> I tried both FreeBSD-11.2-BETA2-amd64-bootonly.iso.xz and
> FreeBSD-11.2-BETA2-amd64-mini-memstick.img.xz on a Dell PowerEdge 2950
> BIOS version 2.7.0. With both images, the USB stick is not recognized.

Can you download the image from
https://people.freebsd.org/~emaste/mini-image.amd64.xz, uncompress and
write it to a USB stick and try on this system? This is a
MBR-partitioned dual-mode test image. It's not an installer - it
should just boot to a login prompt - but can be used to test this
scheme.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-23 Thread Philip Homburg
I tried both FreeBSD-11.2-BETA2-amd64-bootonly.iso.xz and 
FreeBSD-11.2-BETA2-amd64-mini-memstick.img.xz on a Dell PowerEdge 2950 
BIOS version 2.7.0. With both images, the USB stick is not recognized.

For reference I tried an image for a random other OS and in that case the
USB stick is recognized.

I'll try to experiment a bit to see if I can find what causes the issue.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Boot USB memstick with MBR (WAS: Re: [RFC] Deprecation and removal of the drm2 driver)

2018-05-23 Thread Johannes Lundberg
On Wed, May 23, 2018 at 12:41 PM, Philip Homburg 
wrote:

> >It's not that hard create a mbr based usb-stick. Far easier than to find a
> >CD burner.
>
> 'Not hard' means
> - undocumented. Or at least, if you start with release notes and install
>   instructions you won't find it.
> - Probably only works if you already have a FreeBSD system.
>
> And if it is indeed 'not hard', why not just generate such an image as
> part
> of the release build?
>

As someone who burn memsticks weekly and don't own a cd r/w, I agree.
It seems there's no way to download an .iso or .img image that will boot
from usb on legacy bios. This is bad and should be fixed.

We shouldn't expect people that want to experiment with FreeBSD on non-UEFI
hardware to already have a FreeBSD installation where they can prepare boot
media... They shouldn't have to.

File a bug report in bugzilla and try to poke the right people (I don't
know who is working in this area).
I guess the options are, either we make a hybrid .img that'll boot off both
(maybe not that easy if it requires changes to boot assembly code) or just
add a -legacy-bios.img to the image generation scripts.

This is important since it's about lowering the threshold of bringing
people to FreeBSD and giving a good (i.e. working) first impression.


>
> >I believe boot/loader.conf is something you have to create, it is not
> there
> >by default.
>
> That's not the problem. The problem is that it lives on a separate zpool
> that
> is lost at every reboot.
>
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"