SOLVED ! Re: Mounting partitions HELP
--- Alvin Oga <aoga@Maggie.Linux-Consulting.com>
wrote:
>
>
> On Sat, 25 Jan 2003, Joris Huizer wrote:
>
> > I've got the following situation:
> >
> > /dev/hda :
> > - windows stuff
> >
> > /dev/hdb :
> > - /dev/hdb1 : / (root)
> > - /dev/hdb2 : swap
> > - /dev/hdb3 : /boot NOT IN USE
> > - /dev/hdb4 : extended partition
> > - /dev/hdb5 : /home
> > - /dev/hdb6 : /usr
> >
> > I've got two questions:
> >
> > 1. How can I mount the /dev/hda ( the bootloader
> says
> > /dev/hda1 ) (as root and/or as normal user) ?
>
> mount -t vfat /dev/hda1 /mnt/windoze
> and/or add to /etc/fstab
> and/or add to automounter if you dont want windoze
> to be always mounted
>
> normally... you do not want a "normal user" to mount
>
> stuff to the machine ...
> - if the "normal user" is you,
> you can use "sudo mount blah /mnt/blah"
> or simply open up a root window
>
> you cannot mount /dev/hda... you should mount
> /dev/hdaXX
> ( the partitions )
>
>
> > 2. Is it possible to clean ("format", initialize)
> the
> > /dev/hdb3 and set a new partition ( /tmp) there ?
>
> if its not used ...
>
> mke2fs /dev/hdb3 ( assuming nothing to save on
> /dev/hdb3 )
> - addd /tmp into your /etc/fstab
>
> - reboot or make sure /tmp and /boot is "correct"
> mount /dev/hdb3 /tmp
> chmod 1777 /tmp for good measure
>
Cool, that did the job allright !
By the way, what does 'chmod 1777 /tmp' mean ? I
thought chmod takes an octal number of max. 3 digits
...
> /boot should be within the first 1024 cylinders
> - more /boot space means you can have more
> experimental kernels
>
> > Oh, and what type should be used ? I think /tmp or
> > /var but I don't know for sure.
>
> nothing special for /var permissions
>
> c ya
> alvin
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Reply to: