Discussion:
interactive fdisk
Murat Bicer
2002-12-30 06:34:19 UTC
Permalink
Is there a linux fdisk like utility on freebsd that can be used
interactively?

What is /stand/sysinstall configure fdisk calling?

Thanks
Murat
Murat Bicer
***@bicer.org

To Unsubscribe: send mail to ***@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Norbert Koch
2002-12-30 07:58:37 UTC
Permalink
"Murat Bicer" <***@bicer.org> writes:

Hi!
Post by Murat Bicer
Is there a linux fdisk like utility on freebsd that can be used
interactively?
What is /stand/sysinstall configure fdisk calling?
From my understanding of the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html

I'd say it's calling a series of commands like those below.

,----
| 12.3.2 Using Command Line Utilities
|
| 12.3.2.1 Using Slices
|
| This setup will allow your disk to work correctly with other operating
| systems that might be installed on your computer and will not confuse other
| operating systems' fdisk utilities. It is recommended to use this method for
| new disk installs. Only use dedicated mode if you have a good reason to do
| so!
|
| # dd if=/dev/zero of=/dev/da1 bs=1k count=1
| # fdisk -BI da1 #Initialize your new disk
| # disklabel -B -w -r da1s1 auto #Label it.
| # disklabel -e da1s1 # Edit the disklabel just created and add
| # any partitions.
| # mkdir -p /1
| # newfs /dev/da1s1e # Repeat this for every partition you created.
| # mount /dev/da1s1e /1 # Mount the partition(s)
| # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.
|
| If you have an IDE disk, substitute ad for da. On pre-4.X systems use wd.
`----

norbert.

To Unsubscribe: send mail to ***@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Shantanu Mahajan
2002-12-31 05:10:34 UTC
Permalink
+++ Norbert Koch [freebsd] [30-12-02 08:58 +0100]:
| | # mount /dev/da1s1e /1 # Mount the partition(s)
| | # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab.
| |
| | If you have an IDE disk, substitute ad for da. On pre-4.X systems use wd.
^^^ ^^^^^^^^^

IDE = ad
SCSI = da

Regards,
Shantanu
--
Everyone is a genius. It's just that
some people are too stupid to realize it.


To Unsubscribe: send mail to ***@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Continue reading on narkive:
Loading...