LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-01-2005, 05:54 PM   #16
zhitch
LQ Newbie
 
Registered: Aug 2003
Location: Dayton, Ohio
Distribution: LFS
Posts: 28

Rep: Reputation: 15

actually I always use Partition Magic myself (I can hear the GPL diehards grumbling already) but it can resize...delete or do about anything with yer Windows partition.. and it can delete the linux one too if thats what ya want
 
Old 02-05-2005, 04:11 PM   #17
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
I tried partiton magic but couldnt get it to work...



In qt parted this is what it says....

01/dev/hda1 - nfts - active - 57GB (windows partition)

02/dev/hda2 - linux-swap

03/dev/hda - reiserfs

04/dev/hda-1- free - hidden


i'm still not sure what to do...

Last edited by russell108; 02-05-2005 at 08:01 PM.
 
Old 02-06-2005, 06:21 AM   #18
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally posted by russell108
I tried partiton magic but couldnt get it to work...



In qt parted this is what it says....

01/dev/hda1 - nfts - active - 57GB (windows partition)

02/dev/hda2 - linux-swap

03/dev/hda - reiserfs

04/dev/hda-1- free - hidden


i'm still not sure what to do...
To delete your Linux partitions:

1) Open QTParted
2) Right-click on the ReiserFS
3) Click Delete
4) Right-click on Linux-Swap
5) Click Delete
6) Click on "Commit" to apply the changes
7) Shout "Hooray!" and get a pat on the back from your Microsoft buddies.

8) Your MS buddies then help you find some shareware(z) to enlarge your NTFS drive with.


Sorry we can't help you more, but we prefer Free(dom) Software in GNU/Linux land.
 
Old 02-06-2005, 03:32 PM   #19
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
Ok thanks ,

i dont want to delete linux just make the windows partition larger (linux partition is 90GB!!)
 
Old 02-06-2005, 04:33 PM   #20
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally posted by russell108
If possible i would uninstall linux altogether but again i dont know where to start.
I assumed from this, that you DID want to delete Linux.

To make Linux partitions smaller is trivial, but moving them can be a real pain.

On Knoppix, the tool to shrink a ReiserFS is resize_reiserfs. The command you use is:
resize_reiserfs -s 10000M /dev/hda<partition#>

This will resize it to 10 gigabytes. Now you have shrunk the FILESYSTEM, but not the PARTITION. To shrink the partition, you use cfdisk.

To resize the ReiserFS partition, you must DELETE it, then RECREATE it at the new size.

1) Start cfdisk (cfdisk /dev/hda)
2) Select the ReiserFS.
3) Press "d"(for delete). It will then say "Free Space".
4) Press "n"(for new partition).
5) Type in 10050. (This is 10.05 gigabytes! This leaves a little room[50megs], incase the ReiserFS didn't quite shrink below what the partition is capable of.)
6) Press "W"(Capital W, for Write Table). Then type "yes"

Congratulations, you have just shrunk your ReiserFS and Partition to roughly 10Gb.

To MOVE(as in move the beginning of the filesystem/partition) a Linux filesystem, you have to have a "Free Space" equal to the size of the filesystem you want to copy. Then copy the filesystem INTO the "Free Space". This can be akward because "Free Space" isn't always in the most ideal places.


To copy a ReiserFS into "Free Space":
1) Use cfdisk to create a partition from the "Free Space" equal to that of the FS you want to copy.
2) Run:
mkfs -ct reiserfs /dev/<new partition to copy to>
3) Using Knoppix, mount both partitions.
4) As ROOT, Run:
cp -aR /mnt/original/partition/* /mnt/new/partition/
5) After you have verified that everything copied ok, you can delete then original partition. Also you will have to adjust /etc/fstab and your bootmanager to the new changes.


All this is given with NO warranties. Destruction of your system is not desirable, but is always possible. Make backups.

Last edited by Sepero; 02-08-2005 at 06:14 AM.
 
Old 02-07-2005, 04:13 PM   #21
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
resize_reiserfs is that an application ? if it is i couldnt see it

i tried using "resize_reiserfs -s 10000M " in i think a root shell command line but it didnt seem to work....
 
Old 02-08-2005, 06:27 AM   #22
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally posted by russell108
resize_reiserfs is that an application ? if it is i couldnt see it
No, all of the above are shell commands. I would recommend doing ALL operations from the Knoppix CD.

Quote:
i tried using "resize_reiserfs -s 10000M " in i think a root shell command line but it didnt seem to work....
Sorry, I left off the disk at the end. It should be:
resize_reiserfs -s 10000M /dev/hda<partition#>
(possibly /dev/hda5?)

For future reference, I have corrected it in the above post.


Also! To read the manual of a program, type:
man <program_name>

(ie. man resize_reiserfs)
 
Old 02-09-2005, 06:04 PM   #23
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
I'm still not getting it..

I typed into the root terminal "resize_reiserfs -s 10000M/dev/hda3"

and it said "cannot open '(null)' : Bad address"


i would post a screenshot of qtparted and the command line but i dont think i can.
 
Old 02-09-2005, 08:37 PM   #24
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Ok first, it should be:
resize_reiserfs -s 10000M /dev/hda3
not
resize_reiserfs -s 10000M/dev/hda3 (notice the spacing)

Second, I'm starting to seriously think you are in way over your head. I recommend getting help. You can find your nearest LUG(Linux Users Group) at this address:
http://www.linux.org/groups/index.html

If there are no LUG's near you, and you still want to get into Linux, consider hiring help. (or buying a pc with Linux pre-installed)
 
Old 02-11-2005, 11:11 AM   #25
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
I understand completely if you've had enough of this ,i'm at the end of my tether with it too.

A couple more questions tho please..

In shell konsole after typing in the above it said permission denied...cannot access /dev/hda3

also when i try to access the root terminal (a command line prompt like shell console i believe) it asked for a password...which i dont know

Again if youve had enough no problem , thanks for all your help.
 
Old 02-11-2005, 06:11 PM   #26
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
When resizing a drive it is important that it is not mounted. Also make sure that swap space on the drive is not utilized.
Knoppix does not have a root password. See the faq
Hope that helps.
 
Old 02-11-2005, 08:02 PM   #27
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally posted by russell108
I understand completely if you've had enough of this ,i'm at the end of my tether with it too.
It's not a problem for me( or us). I think it's more of a problem for you really. If you can't get past the simple instructions I posted, then I believe you are in for much more trouble than you think.


Quote:
In shell konsole after typing in the above it said permission denied...cannot access /dev/hda3
In the Main Menu, there is a submenu called KNOPPIX. In there you should find "root shell". (Note: I haven't used Knoppix in about a year, so I'm going on 100% memory and could be wrong. )
 
Old 02-13-2005, 06:26 AM   #28
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
OK some success at last...

I got everything working as far as running cfdisk (thought it was an application btw.. couldnt find it anywhere lol)

it asks " add partiton at begining of free space ?" i presumed yes

.... it then asks "toggle bootable flag of current partition"
at which point i am at a loss
 
Old 02-13-2005, 01:45 PM   #29
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally posted by russell108
I got everything working as far as running cfdisk (thought it was an application btw.. couldnt find it anywhere lol)
Yes, cfdisk IS an application. It should already be installed on Knoppix.


Quote:
it asks " add partiton at begining of free space ?" i presumed yes

.... it then asks "toggle bootable flag of current partition"
at which point i am at a loss
This doesn't sound like you're using cfdisk.
 
Old 02-13-2005, 04:14 PM   #30
russell108
LQ Newbie
 
Registered: Dec 2004
Posts: 27

Original Poster
Rep: Reputation: 15
Couldnt find cfdisk in the start menus so i typed "cfdisk" in the root shell and it worked...

identified itself as cfdisk

I also got as far as stage 5 in the cfdisk list that you gave (resizeing to 10050MB)

then it asks those questions i mentioned..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Checking CouchMaster Ubuntu 5 03-31-2005 02:10 PM
Your Spell-Checker Robert G. Hays LQ Suggestions & Feedback 4 03-23-2005 01:31 PM
Spell checker awsome!!!! Tux_Phoenix LQ Suggestions & Feedback 1 11-16-2004 05:53 PM
spell checking mindcry Linux - Software 5 10-09-2003 06:41 PM
vi spell-check? jeri Linux - General 2 09-01-2001 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration