LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-22-2003, 06:05 AM   #1
learner
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
partition on dual booting system


I have two operation system running on my m/c linux 8.0 and windows xp I have 80 gb hard disk and from that only 4gb is assign to linux. I have removed the 15gb partition from win xp but now i am able to create partition in linux for the empty 15 gb. I have tried following command but it is not working for me

fdisk /dev/hda

than i executed 'n' to create new partition and 'w' to write new partition table and rebooted the machine. but still it's showing 4 gb hard disk only

can anybody help me out ?
 
Old 09-22-2003, 06:44 AM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
[I'm a Slackware user ... YMMV]

Once you've created a partition with fdisk then you need to "format" that partition by making the basic filesystem structures the command is a variant of "mkfs" (try "man mkfs" for more info). The variants include things like "mke2fs" - for ext2 filesystem (I use reiserfs).

When you've done that you can reboot. Then you'll need to create a mount point (a directory where you place the new filesystem ... "mkdir") and mount the new partition, eg "mount -t ext2 /dev/hdaX /your/chosen/mount/point"

Now you'll probably want to edit /etc/fstab so that your partition is mounted at reboot.

HTH

pbhj
 
Old 09-23-2003, 03:07 AM   #3
learner
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for Replay

but now I am getting warning message saying
Quote:
Device or Resource is busy
for partition table. and Also it is not allocating any memory which creating partition

Even i changed booting mode to run level 1. but still it was giving same error.
 
Old 09-26-2003, 12:57 AM   #4
learner
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks i got the solution

I unmounted the existing mounted partition and than tried above code and it worked now i am not getting "Device or Resource busy" warning

thanks pbhj
 
  


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
dual booting winxp on a logical partition bys Linux - General 6 08-10-2005 05:54 PM
Dual Booting 2 Distro in different partition novice26 Linux - General 2 04-08-2005 02:55 AM
Dual-booting Linux System PhuckFonix Linux - General 5 09-06-2004 11:37 PM
Dual booting system Rylinkus Linux - Newbie 9 03-08-2004 06:38 PM
Dual booting system w/ Win ME Cannon Linux - Newbie 7 04-09-2001 01:35 PM


All times are GMT -5. The time now is 03:02 AM.

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