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

2006-11-22 Thread del
On Tue, 21 Nov 2006 14:48:01 +
del [EMAIL PROTECTED] wrote:

 On Sat, 04 Nov 2006 14:30:28 -0600
 Kent West [EMAIL PROTECTED] 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.

SNIP

Thank you to every poster.

I used ... 

# sudo mkdir /home2
# sudo mount /home2

Which partially worked ...

Initially I used the whole disk as one big folder, but, unable to
place files as user, I read enough about permissions to believe I
needed folders so I created one.

Now I have an mp3 folder in the former Win2K partition which is now
fully available to user as well as root.

I learned quite a lot from this problem and now hope the solution helps
someone else too.

Thank you all 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 ...   XAgainst HTML
MICROSOFT FIREWALL STILL ABLAZE - BROKEN NEWS BBC TV  / \Mail


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-11-05 Thread Rogério Brito
Hi there, Del.

On Nov 04 2006, del wrote:
 I have looked at the partitions with live cds (Knoppix and similar)
 and have burned the few things that mattered from 2K. I have also a
 qtparted live cd to hand.

I don't know about the qtparted live CD that you have, but with a live
gparted live CD [*] I used two three times already, I could do the following:

* boot an iBook's HD (that's a powerpc computer) in target mode via a
  Firewire port, shrink the HFS+ partition and make partitions for a
  Debian installation;
* expand an ext3 filesystem of an HD of a friend of mine;
* shrink a FAT32 filesystem with Windows 98 for my father and created
  partitions for a Debian installation. Later, I copied the contents of
  the HD to a larger HD expanded the ext3 filesystem and moved it around
  (and the partition table was correct after all these actions).

I highly recommend it.


Regards, Rogério Brito.

[*] http://gparted.sourceforge.net/
-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-11-04 Thread del
Hello to all,

I have a dual boot Debian Sarge/Win 2K box.

The 2K has been broken for some time but is no loss as I have another
machine for the few remaining tasks, some games for me and for the
convenience of other family members who are more comfortable with
Windows. I have long since removed the Win 2K from the boot menu.

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 :)

I have looked at the partitions with live cds (Knoppix and similar)
and have burned the few things that mattered from 2K. I have also a
qtparted live cd to hand. 

So to the questions, 

1) How to remove?
2) What to name it to survive a re-install?
3) Is it possible to have a second home?
4) How could I have found the answer myself in the Debian archives to
   save asking here?
5) And Is there a tutorial on looking this kind of thing up in say 
   Google Groups?

Thanks for any replies to any part of the questions.

Kind Regards, 
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 ...   XAgainst HTML
MICROSOFT FIREWALL STILL ABLAZE - BROKEN NEWS BBC TV  / \Mail


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-11-04 Thread Kevin Mark
On Sat, Nov 04, 2006 at 06:24:51PM +, del wrote:
 Hello to all,
snip
 So to the questions, 
 
 1) How to remove?

you need to make it a linux file system partition (cfdisk or similar)
then you create a file system on it  (mkfs)
this will make it a seperate partition and will not join it to any
adjcent partition space. This may be possible to resize an adjcent space
to add the new space, but its complex and risky.

 2) What to name it to survive a re-install?

what ever install you use, just be careful with the 'partitioning step'.
Don't use the automatic one and make sure that you dont delete the partition
that you want to save.

 3) Is it possible to have a second home?

no. each user has one home. But you can add mount points inside your
home. Or you can make a seperate data files mount point for all users
to store file.

 4) How could I have found the answer myself in the Debian archives to
save asking here?

Its not a debian-specific question. It requires an understading of
partitioning schemes. This is a general computer issue with some
particular unix/Debian details.

 5) And Is there a tutorial on looking this kind of thing up in say 
Google Groups?

not sure. maybe google for 'debian partitioning scheme

cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


signature.asc
Description: Digital signature


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

2006-11-04 Thread Kent West
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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-11-04 Thread Russell L. Harris

del wrote:

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?
2) What to name it to survive a re-install?
3) Is it possible to have a second home?
4) How could I have found the answer myself in the Debian archives to
   save asking here?
5) And Is there a tutorial on looking this kind of thing up in say 
   Google Groups?
  
I am not aware of a Linux tool comparable to Partition Magic which 
allows a partition to be moved.  (But even with PM, the partition is 
not moved in actuality.)


Use fdisk or cfdisk to delete the partition, then create a new Linux 
partition from the resulting free space.  Then create a filesystem (ext2 
or ext3) in the new partition.  Then edit /etc/fstab to mount and name 
the partition.  Then reboot.


You can't have two partitions named home, but you can name a partition 
whatever you wish, such as  home.backup.


When installing Debian, the partitioner allows you to decide whether to 
preserve a partition and whether to preserve the data on the partition.  
But for your purpose, it likely is a better solution to plug in a second 
drive and place the backup for home on the second drive; that way, you 
are not constrained in your partitioning scheme when you re-install. 


RLH


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]