9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9front@googlegroups.com
Subject: Re: mkusb
Date: Mon, 7 May 2012 10:07:09 +0200	[thread overview]
Message-ID: <9b6dbc193c25728cd659e8da0dacc8a5@rei2.9hal> (raw)
In-Reply-To: <4d9c26e53ce8a3673377c6f581cd7f2a@sp.inri.net>

there should be a generic way of making a harddrive bootable.
then we could just use this from the installer instead of
/rc/bin/inst/bootsetup and also use it to make usb drives
bootable.

something like:

mkbootfat [-b] /dev/sdXX

the -b switch would try to make everything from scratch:
	- whipe
	- install mbr
	- make single dos partition (fdisk)
	- format the dos partition

normal procedure is like:
	- look for 9fat and dos partitions, let the user select one if multiple
      choices are present.
	- install pbs on dos partition (disk/format -b)
	- mount and copy 9bootfat+kernel+plan9.ini to dos partition
	- make dos partition active and optionally install mbr if not already done

--
cinap

  parent reply	other threads:[~2012-05-07  8:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07  3:44 mkusb sl
2012-05-07  5:25 ` mkusb Jens Staal
2012-05-07  7:36 ` mkusb cinap_lenrek
2012-05-07 20:04   ` mkusb sl
2012-05-07  8:07 ` cinap_lenrek [this message]
2012-05-08  1:21   ` mkusb sl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b6dbc193c25728cd659e8da0dacc8a5@rei2.9hal \
    --to=cinap_lenrek@gmx.de \
    --cc=9front@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).