Re: Delete Win 2K partition on Debian dual boot to re-use space.
On Sat, 04 Nov 2006 14:30:28 -0600
Kent West <westk@acu.edu> wrote:
> del wrote:
> > I have a dual boot Debian Sarge/Win 2K box.
> >
> > I would now like to remove the 2K partition to regain the space for
> > use for MP3s. Would I be able to have a second "home" so it will
> > not be wiped if I need to re-install at some time, say when I break
> > my machine upgrading to Etch later this year :)
> >
> > 1) How to remove?
> >
> # cfdisk /dev/hda (or /dev/sda, or whatever fits your situation)
> highlight the 2K partition, and delete it.
> Highlight the now-unused partition, and create a new linux partition
> [W]rite the changes, and exit cfdisk.
> Reboot if so-prompted (otherwise, don't bother.
> # mkfs.ext3 /dev/hda1 (or whatever file system and partition fits your
> desire/situation)
> edit /etc/fstab to mount the newly created partition/file system on
> whatever mount point you want, say
> "/home/del/OldW2KSpaceRecoveredFromTheDarkSide" (make sure to make
> this directory first.
> # mount -a
> > 2) What to name it to survive a re-install?
> >
> Whatever you want; just make sure that during any re-install, you
> don't wipe out this partition / file system. (Why are you
> re-installing anyway? This is Debian, not Windows.)
>
> > 3) Is it possible to have a second home?
> >
> No. (Well, 'er ..., just say "No".) You could however have a "/home2",
> or an "/opt", or an "/overflow", or a "/home/home", etc etc etc.
>
>
> --
> Kent West
> Westing Peacefully <http://kentwest.blogspot.com>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
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>
proc /proc proc defaults 0 0
/dev/hda1 /home2 reiserfs defaults 0 2
/dev/hda3 / reiserfs notail 0 1
/dev/hda4 /home reiserfs defaults 0 2
/dev/hda2 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
when trying to mount as a normal user I get ...
Called: mount /dev/hda1
mount: only root can mount /dev/hda1 on /home2
then as root ...
Called: mount -treiserfs -odefaults /dev/hda1 /home2
mount: mount point /home2 does not exist
and /home2 has no size (N/A) in kdf.
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.
Thank you again.
del
--
D. M. Byram || www d0t garmonsway d0t org/ /"\ ASCII Ribbon
Debian GNU/Linux || www.debian.org/ \ / Campaign
Undo the obfuscation to gain the address ... X Against HTML
MICROSOFT FIREWALL STILL ABLAZE - BROKEN NEWS BBC TV / \ Mail
Reply to: