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

Re: Delete Win 2K partition on Debian dual boot to re-use space.



On Tue, Nov 21, 2006 at 02:48:01PM +0000, del wrote:
 
> Hello again and thanks for the help so far.
> 
> I know it's been a while but I have been trying to do what was suggested
> and learn at the same time but now I a little worse off as I no longer
> have any access to the old 2k partition at all, whereas before at least
> it was accesible :-/
> 
> It seems to be still there but I am having trouble with the final
> stage of getting it to be mounted and usable.
> 
> # /etc/fstab: static file system information.
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> /dev/hda1       /home2          reiserfs defaults        0       2
> /dev/hda4       /home           reiserfs defaults        0       2
> 
> when trying to mount as a normal user I get ... 
> 
> Called: mount /dev/hda1
> mount: only root can mount /dev/hda1 on /home2

Because options defaults does not include the user option (see man
mount), not that it should.

> 
> then as root ...
> 
> Called: mount -treiserfs -odefaults /dev/hda1 /home2
> mount: mount point /home2 does not exist

Does it?  I would suggest that this mount point should have the same
owner and permissions as the /home mount point.  I'm also assuming that
the /dev/hda1 partition really is reiserfs.

> 
> and /home2 has no size (N/A) in kdf.
> 

Since its not mounted, it wouldn't show up in df (presumably kdf as
well).

> I have spent quite some time on Google and in the man pages, hence the
> delay in writing to the list again, but have found nothing to
> solve my problem.  Possibly I am not asking the right question/s.
> 
> Man pages on fstab leaves me lost with phrases like, 
> 
> ""The order of records in fstab  is  important  because  fsck(8),
> mount(8),  and umount(8) sequentially iterate through fstab doing
> their thing.""

> 
>  ... which means little to me as I am not a programmer, merely a user
> who tries hard to stay with Debian rather than the alternatives of
> Windows or other Linux distros.
> 
> And man mount left me equally confused.
> 
> So, please, can you help me to make use of my former partition.
 
This isn't a programming issue, its a sysadmin knowledge base issue.
The ongoing problem is that there is no one souce of knowledge.  One has
to glean it from many sources:  HOWTOs, debian-reference, installer
manual, system-admin guide, and from books.  My introduction to Debian
came from __Debian_GNU/Linux_Bible__ by Steve Hunger, and came with a
Potato CD.  I stil refer to it because things haven't changed that much
and its easier to find information in one 800 page book than in several
on-line documents.

My suggestion is to comment out the line in /etc/fstab until you can
manually mount the directory (as root).  Then fix the line in fstab to
match what works.


Good luck.

Doug.



Reply to: