Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-22-2003, 05:05 AM   #1
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, 05:44 AM   #2
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.


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

Original Poster
Rep: Reputation: 0
Thanks for Replay

but now I am getting warning message saying
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-25-2003, 11:57 PM   #4
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


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

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

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