Re: new hard drive

From: tony wong (x34_at_hknet.com)
Date: 03/22/04


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
> ======================



Relevant Pages

  • Re: Windows multiboot (aaargh!)
    ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
    (Debian-User)
  • Re: Linux, XP, Win2003 Server multi-boot
    ... Go to PC magazine's web site and do a search on "partitioning for linux" to see articles and reviews about partitioning philosophy and tools. ... Tools are now available in many bootable CD based Linux distributions to resize the C: partition of your disk drive to make room for Linux. ... I finally got the new machine - it came with one of those 'recovery' disks - and a 5 gig recovery partition that isn't supposed to be deleted. ... Once I feel I have everything in order - always lose something when I get a new computer - I'll format that disk and install Linux & Win2003 on it I guess. ...
    (alt.os.linux.redhat)
  • Re: Linux Windows dual boot not restoring properly
    ... Linux is showing the Windows folders in its file manager under the name of what effectively was drive C. ... decreases that Windows partition size in order to make a partition ... And at startup, can scan the hard drives, for partition types it ...
    (alt.comp.hardware.pc-homebuilt)
  • Disc Partitioning for Multi-Boot (long)
    ... We need to get the data off of the NTFS partition. ... But the next question is how to partition the drive so Windows and Linux ... The fdisk supplied with Windows 98 cannot manage that disc. ... How shall I make a multi-boot system out of that machine, ...
    (Fedora)
  • Re: Panasonic HD Recorders - What disk format?
    ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
    (alt.os.linux)