LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   partition on dual booting system (https://www.linuxquestions.org/questions/linux-software-2/partition-on-dual-booting-system-95425/)

learner 09-22-2003 05:05 AM

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 ?

pbhj 09-22-2003 05:44 AM

[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

learner 09-23-2003 02:07 AM

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.

learner 09-25-2003 11:57 PM

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


All times are GMT -5. The time now is 06:45 PM.