Re: Partition question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen,

Your /dev/hde5 is the partition that is mounted on /home. There is no need
to change your fstab. If you want to convince yourself, type this:

e2label /dev/hde5

It will tell you label of that partition, which should be "/home". Now look
back at line 4 of your fstab file:

LABEL=/home  /home     ext3    defaults        1 2

This tells Linux that it should mount the hard drive labeled "/home" at the
mountpoint /home upon startup.

Hope that's helpful.

-Rob


----- Original Message -----
From: "Stephen Liu" <satimis@xxxxxxxxxxxx>
To: <shrike-list@xxxxxxxxxx>
Sent: Tuesday, September 02, 2003 1:23 AM
Subject: Re: Partition question


> Hi Rob and Mike,
>
> Thanks for your advice.
>
> I have following questions unresolved;
>
> 1) During partition I partition "/home" finally, maximizing all
> available space.  Now where is its parttion?  Is it /hde4?
>
> 2) I created "/home" partition for /home folder/directory so that in
> case of of crash of RH9.0, I make a clear installation of RH9.0 "/home"
> partition won't be wiped off.  I am not sue whether /home
> folder/directory is now residing on "/home", the partition created for
> it.
>
> /etc/fstab
> LABEL=/      /        ext3    defaults        1 1
> LABEL=/boot  /boot     ext3    defaults        1 2
> none        dev/pts   devpts  gid=5,mode=620  0 0
> LABEL=/home  /home     ext3    defaults        1 2
> none        /proc     proc    defaults        0 0
> none        /dev/shm  tmpfs   defaults        0 0
> /dev/hde2    swap     swap    defaults        0 0
> /dev/cdrom   /mnt/cdrom       udf,iso9660 noauto,owner,kudzu,ro 0 0
> /dev/cdrom1  /mnt/cdrom1      udf,iso9660 noauto,owner,kudzu,ro 0 0
> /dev/fd0     /mnt/floppy      auto    noauto,owner,kud
>
> Is it necessary to edit /etc/fstab?
>
> Thanks in advance.
>
> B.R.
> Stephen
>
>
> On Mon, 2003-09-01 at 22:37, Rob Hinst wrote:
> > On your setup, /dev/hde4 isn't really a separate partition where you can
> > store data. Think of it like this: if you want to have partitions on
your
> > hard drive beyond the 4 primary ones that are allowed, you need to
designate
> > the fourth partition as "extended." This partition will take up the rest
of
> > the space that you want partitioned. Then, inside this extended
partition,
> > you can create "logical" paritions for the remainder of the partitions
you
> > wish to create.
> >
> >
> To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.
> ----- Original Message -----
> > From: "Stephen Liu" <satimis@xxxxxxxxxxxx>
> > To: <shrike-list@xxxxxxxxxx>
> > Sent: Monday, September 01, 2003 3:12 AM
> > Subject: Re: Partition question
> >
> >
> > > Hi Chris,
> > >
> > > Thanks for your advice.
> > >
> > > I still could not resolve following questions.
> > >
> > > 1) In my case how could the 5th partition "/dev/hde4" (ext partition)
be
> > > created?  I did not create it
> > > /dev/hde4  737  1245 4088542+ f Win95 Ext'd (LBA)
> > >
> > > 2) I suppose "/dev/hde5" being /home partition where "/home"
> > > folder/directory resides
> > >
> > > 3) Why "/dev/hde4" and "/dev/hde5" starting and ending at the same
> > > cylinder, taking up the same number of cylinders
> > > /dev/hde4     737      1245   4088542+   f  Win95 Ext'd (LBA)
> > > /dev/hde5     737      1245   4088511   83  Linux
> > >
> > > 4) What is the "+" sign indicating in
> > > /dev/hde2     14       78    522112+  82  Linux swap
> > > /dev/hde4    737     1245   4088542+   f  Win95 Ext'd (LBA)
> > >
> > > Thanks in advance.
> > >
> > > B.R.
> > > Stephen
> > >
> > >
> > > On Mon, 2003-09-01 at 12:48, Chris Kloiber wrote:
> > > > On Mon, 2003-09-01 at 00:31, Stephen Liu wrote:
> > > > > Hi all folks,
> > > > >
> > > > > I just finished installing a RH9.0 box.  Partitions made are as
> > follows
> > > > >
> > > > > /boot
> > > > > swap
> > > > > /
> > > > > /home
> > > > >
> > > > > But
> > > > > # fdisk -l
> > > > >
> > > > > Disk /dev/hde: 10.2 GB, 10245537792 bytes
> > > > > 255 heads, 63 sectors/track, 1245 cylinders
> > > > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > > > >
> > > > >    Device Boot    Start       End    Blocks   Id  System
> > > > > /dev/hde1   *         1        13    104391   83  Linux
> > > > > /dev/hde2            14        78    522112+  82  Linux swap
> > > > > /dev/hde3            79       736   5285385   83  Linux
> > > > > /dev/hde4           737      1245   4088542+   f  Win95 Ext'd
(LBA)
> > > > > /dev/hde5           737      1245   4088511   83  Linux
> > > > >
> > > > > Kindly help me to under what is
> > > > > "/dev/hde4   737   1245   4088542+   f  Win95 Ext'd (LBA)"
> > > > >
> > > > > I did not create a partition for Win95.
> > > > >
> > > > > Is
> > > > > "/dev/hde5  737  1245  4088511  83  Linux"
> > > > > home partition (/home)?
> > > > >
> > > > > Thanks in advance.
> > > >
> > > > Dos style partition tables can only have 4 entries called "primary"
> > > > partitions. One of those 4 (usually the last, #4) can be an
"extended"
> > > > partition, which can hold up to 11 more "logical" partitions, for a
> > > > grand total of 14 usable partitions per disk (1-3,5-15) where data
can
> > > > be stored. In your case you only asked for 4 partitions so the
extended
> > > > partition was unneeded, but it won't hurt you to leave it there.
> > > > --
> > > > Chris Kloiber
> > > > Red Hat, Inc.
>
>
> --
> Shrike-list mailing list
> Shrike-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/shrike-list


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux