LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-30-2003, 12:56 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
How can I safely repartition....


I just installed Slack on the same drive as mandrake and i want to get rid of mandrake. What is the safest way to get rid of mandrake and repartition so Slack uses the whole disk?, and I only need 2 parttions right?
Maybe go into fdisk and just delete the partitions Mandrake is on? would that do it?

Last edited by BajaNick; 12-30-2003 at 01:03 PM.
 
Old 12-30-2003, 03:19 PM   #2
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
Re: How can I safely repartition....

Quote:
Originally posted by BajaNick
and I only need 2 parttions right?
this is completely up to you. you can put linux on 50 partitions if you wanna ;)
well, to be serious, it does make sense to create quite a lot partitions on some systems. e.g. this might be a security issue (e.g. create one partition for /usr/bin and just mount it read-only... probably a bad example but you should get the point) - there are lots of essays about partitioning out there. don't have any handy right now, just check out www.tldp.org and you should find a lot of documentation about it.

Quote:
Originally posted by BajaNick
Maybe go into fdisk and just delete the partitions Mandrake is on? would that do it?
that should do it. merging the partitions might work, but is probably quite dangerous. in any case, you have to check if the partion-numbers have changed somehow (e.g. /dev/hda2 -> /dev/hda1 or something like that). if that's the case you have to change /etc/fstab and the root partition in your boot-loader config file (e.g. you have to change the 'root=/dev/hdax' line in /etc/lilo.conf, if you're using lilo)


cheers
 
Old 12-30-2003, 04:45 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Yea, Maybe i didnt phrase my question correctly. I was just wondering if I only need 2 partitions, I know i can have lots. I just want to get rid of Mandrake and free that space. Fdisk shows hda1, hdb2, hda5, and hda6. I installed slack on hda5 and hda6 but fdisk shows hda1 as boot and slack is whats booting. How can i be sure i am deleting the correct partitions?
 
Old 12-30-2003, 04:51 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Look into Mandrake /etc/fstab (to find out what's its /). Or you can simply mount all the partitions under Slack and see what's where. Mandrake is probably on hda1 (but it should be checked).
 
Old 12-30-2003, 04:58 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Yes thats what i was just trying to do is mount mandrake under slack but how do i do that? I cant look at mandrake because i does not boot anymore LILO isnt giving me an option to boot man. and I cant get to it unless i can see it through Slack.

Last edited by BajaNick; 12-30-2003 at 04:59 PM.
 
Old 12-30-2003, 05:01 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
You need to do something like
mkdir /mnt/mandrake
mount /dev/hda1 /mnt/mandrake
It you have a module for the filesystem Mandrake is installed (in default Slack kernel there's all you need), the partition will be mounted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/ full need to repartition not sure what to do dibblethewrecke Linux - General 9 01-13-2004 03:56 AM
repartition problem fideli Linux From Scratch 3 12-12-2003 08:46 AM
Reformat / Repartition Hamma Linux - Software 4 12-02-2003 03:06 PM
Repartition went fine, now what? aryden Linux - Newbie 3 09-26-2003 05:20 AM
How to repartition Manny88 Linux - Software 2 09-19-2003 03:26 PM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration