Results 1 to 3 of 3

Thread: Need help using Fdisk in Knoppix..

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    1

    Need help using Fdisk in Knoppix..

    Apologies for the newbie-ish question, but I'm finding myself in a bit of a bind here. Basically I was attempting to dual boot Windows and Linux, and the typical partitining horror story kicked in and basically my mbr is completely messed up so I'm in the process of trying to get things back in order, if possible.

    Anyway, I've been trying to figure out ways to format my hard drive since my Win98SE bootdisk didn't work(driver error), and the Windows Full Install CD is having problems detecting my hard drive, so what I decided to try and do is run Knoppix from a CD and use Fdisk to format my drive, but embarrassingly enough I'm completely new to Linux so I'm really not sure how to use Fdisk to format. Would anyone mind helping me out with this one? Any input is really appreciated, thanks.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    - Boot knoppix
    - get a console command line window or choose the icon in the Knoppix menu "Root console"
    - If you choose "Root console", skip this command and proceed to the next step. type
    su -
    which will give you root (which is superuser or administrator) access
    - If your harddrive is C: and is the first drive on the primary IDE chain, then it is known to linux as /dev/hda. You can now type:
    cfdisk /dev/hda
    (notice that we are using the more friendly cfdisk command instead of the standard fdisk command.
    In cfdisk you can use the arrow and Enter keys to partition the harddrive. If you don't want to make any changes, then you can QUIT and it will not make any changes. If you want to keep the changes you made then must choose WRITE, and it will write the new partition table to the hard drive, then you can quit and reboot the PC and try to install Windows.
    I hope this helps.
    James

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I assume you have one harddrive, connected as first hd on the first controller, and which is therefore named /dev/hda.

    A second device on the first controller would be /dev/hdb, the first dev. at the sec. controller /dev/hdc and so on.

    I assume further, that you like to have a partition for win, a normal one for linux (type=83), and a swap-partition for linux (type=82).
    For win98 you will use a vfat-partition (fat32? not sure, type=c).

    For the size of your partitions you decide by your needs - if you have no idea do it like this: your physical RAM * 2 for swap, 50% of the rest for win98 and linux.

    To partition the drive, you call
    Code:
    fdisk /dev/hda
    You will get a prompt which shows that you get the list of options with 'm'.
    I would start 'p' - print partition-table.

    Depending what you get as response, you may delete the partitions listed there.
    Create a new partition (primary) for win98 as first partition - which will be '/dev/hda1' for linux and 'C:' for windows.
    Toggle the bootable flag for this.
    Create the two linux-partitions.
    The list of types you get with 'l'.

    If you're unsure, you may always leave the program with 'q'. As long as you don't hit 'w' like 'write' - your changes aren't made.

    After partitioning, you have to format the partitions.
    mkfs.reiserfs for the linux-partition (/dev/hda2).
    If you can format the win-partititon with the windows-install medium, I would prefer that.

Similar Threads

  1. problem with fdisk
    By eljoky in forum General Support
    Replies: 3
    Last Post: 02-01-2005, 08:36 PM
  2. ntfsresize/fdisk - where's my new partitions?
    By martianrobot in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-16-2004, 04:40 PM
  3. odd output from fdisk
    By Eradicator in forum Hardware & Booting
    Replies: 2
    Last Post: 10-28-2003, 04:21 PM
  4. fdisk /sfdisk output
    By hololi in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-05-2003, 05:31 AM
  5. FDISK
    By Waver in forum Ideas
    Replies: 1
    Last Post: 02-15-2003, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working picture

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working

$99.99



Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On) picture

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)

$300.00



Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ picture

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ

$350.00



VTG Atari 1200XL Home Computer System 1200 XL ** Tested ** Parts or Repair picture

VTG Atari 1200XL Home Computer System 1200 XL ** Tested ** Parts or Repair

$323.75



Atari XE  130XE Computer NTSC with Power Supply Powers On Untested picture

Atari XE 130XE Computer NTSC with Power Supply Powers On Untested

$159.95



Gotek USB Floppy Emulator v3.44 OLED (no speaker) Amiga Atari IBM Roland AKAI picture

Gotek USB Floppy Emulator v3.44 OLED (no speaker) Amiga Atari IBM Roland AKAI

$44.00



Atari 520ST Vintage Home Computer Keyboard Unit picture

Atari 520ST Vintage Home Computer Keyboard Unit

$199.97



SOLD AS IS Lot of 5.25

SOLD AS IS Lot of 5.25" Floppy Disks w/ Games & Software? Commodore 64 Atari 800

$59.99



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$49.29



ATARI HDD Drive ACSI Emulator 520-1040ST/STF/STFM, STE, Mega STE, TT030 acsi2stm picture

ATARI HDD Drive ACSI Emulator 520-1040ST/STF/STFM, STE, Mega STE, TT030 acsi2stm

$48.95