home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
images
/
boot.img
/
EXAMPLES.MSG
< prev
next >
Wrap
Text File
|
1997-11-26
|
910b
|
25 lines
0cRed Hat Rescue Mode Examples07
To create devices, use the 0fmknod07 command.
0fmknod /dev/<DEVICE NAME> b [MAJOR MINOR]07
Device names include: hda, hda1, sdb, etc.
MAJOR, MINOR are the corresponding device numbers.
DEVICE MAJOR MINOR DEVICE MAJOR MINOR
hda 3 0 sda 8 0
hda[1..x] 3 1..x sda[1..x] 8 1..x
hdb 3 64 sdb 8 16
hdb[1..x] 3 65..64+x sdb[1..x] 8 17..16+x
hdc 22 0 sdc 8 32
hdc[1..x] 22 23..22+x sdc[1..x] 8 33..32+x
For example, to create and mount a root partition on hda1, use the following:
0fmknod /dev/hda1 b 3 10f
0fmount -t ext2 /dev/hda1 /mnt0f
05[F1-Main] [F2-General] [F3-Expert] [F4-Rescue] [F5-Kickstart] [F6-Kernel]07