bin/161926: bsdinstall(8): disk layout trouble

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Oct 23 18:31:52 UTC 2011


In message <4EA43608.2070703 at freebsd.org>, Nathan Whitehorn writes:

>> Keymap Selection -> No
>> "non-default key mapping" ???
>> What kind of question is that ?
>
>Can you suggest an alternate wording for this? This was a request from 
>PR bin/160913.

"Do you want US/English keyboard ?"

>> Ohh, there are *no* "back" buttons *anywhere* ?
>
>jilles@ was going to add these at one point, so I dropped the issue. I 
>don't know what happened with that -- perhaps it is worth revisiting.

I have noted your candidacy for the "Understatement of the month" award.

>> Partition
>> ada0 Modify
>> "Invalid argument. arg0 'ada0'
>> MBR
>
>Can you provide some more detail on how you got here? This is a geom 
>bug, and it would be nice to track it down.

Try dd if=/dev/zero of=/dev/$whatever bs=128 on your target disk before
installation.

>> Active partition is the last one created ?
>> There is no place I can see it ?
>> There is no place I can change it ?
>
>Active partition is the last bootable (e.g. freebsd) partition you 
>created, yes.

That is *totally* bogus, at the very least, make it the first one.

>> Enter shell in new system
>>
>> Fix /etc/fstab ?
>> There is no /etc/fstab ?
>
>No, there is no fstab. There is no rc.conf either.

That is very counter-intuitive, because people are very likely
to make changes to them with this step.

In fact, that is just about the only reason you have to enter the
new system this way:  To change something that improves your chances
of booting the new system in a few moments.

>1. Move "Shell" out of that screen, into the "Installation finished. 
>What would you like to do now?" screen, when the install is actually 
>complete. This is the easiest solution by far, and maybe the best.

That works for me.

>> I tried once before with a disk which contained a Ubuntu installation,
>> there I ended up with partition 2 having size of "-37GB" on a 40GB
>> drive.
>
>Again, can you provide more details on how you got there? You seem to 
>have found a *lot* of bugs in gpart.

Sorry, that one is not reproducible now.  You can try to install an
Ubuntu on a 40GB disk, but...

>Back buttons are kind of hard in shell scripts, but I'm on it :P

You're doing this as shell-scripts ?

The mind boggles...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-bugs mailing list