Re: new hard drive
From: tony wong (x34_at_hknet.com)
Date: 03/22/04
- Next message: ynotssor: "Re: new hard drive"
- Previous message: Arnold: "Fedora Core 1"
- In reply to: Peer Hebing: "Re: new hard drive"
- Next in thread: ynotssor: "Re: new hard drive"
- Reply: ynotssor: "Re: new hard drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Mar 2004 20:51:48 +0800
Thanks Peer
it works.
any good textbook on linux text mode only?
"Peer Hebing" <hebing@uni-duesseldorf.de> ¼¶¼g©ó¶l¥ó·s»D
:c3k980$904$1@news1.rz.uni-duesseldorf.de...
> Hi
>
> tony wong schrieb:
> > how to add a new hard drive. My text book only mentions a new start.
> >
> > Now my linux boots from SCSI. I add a new IDE drive. The linux has
> > detected it.
> >
> > steps??
>
> read man fdisk man mke2fs and man mount ;-)
>
>
> > 1. fdisk (extension?)
>
> Depends on where the harddrive is connected:
> If this is the only ide-harddrive in the system you can
> check with fdisk -l | grep hd*
> If there is more than one ide-hd drive it depends on
> where the target drive is connected:
> 1.Channel IDE-Master -> /dev/hda
> 1.Channel IDE-Slave -> /dev/hdb
> 2.Channel IDE-Master -> /dev/hdc
> and so on.
> Lets say it is the primary master, then the command
> would be
> fdisk /dev/hda
> press m for help , the rest should be selfexplaining.
> Play a little bit with this powerful thing. Nothing happens until
> w is pressed, be careful with that and check the output of l before you
> write the partition table to disk.
> reboot
> > 2. fsconf (file system type?)
>
> Hope i get you right here, type is 83 if you want to create a linux
> partition an 82 if you want to create a swap-partion.
> 83 is the default value when creating a new partition with fdisk.
>
> Format the partition
> Your choice. I would say ext3 is a good choice.
> In case you just want to create one data partition :
> mke2fs -j /dev/hda1
> And yes, its pretty fast !
>
> > 3. mount
>
> In case you do not have a mountpoint create it first:
> e.g mkdir /data
> mount /dev/hda1 /data to mount it once
> and something like :
> echo /dev/hda1 /data ext3 defaults 0 0 >> /etc/fstab
>
>
> > thanks a lot. I am very new to linux. now i am interested in text
mode.
>
> Really ?
> hth
> Peer Hebing
>
> >
>
>
> --
> ======================
> Peer Hebing
> http://linux-daemon.de
> ======================
- Next message: ynotssor: "Re: new hard drive"
- Previous message: Arnold: "Fedora Core 1"
- In reply to: Peer Hebing: "Re: new hard drive"
- Next in thread: ynotssor: "Re: new hard drive"
- Reply: ynotssor: "Re: new hard drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|