LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2006, 12:09 PM   #1
Wormfood
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Hard Drive Questions


I have two hard drives in my machine.

I can do fdisk -l and see both

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3657 29XXXX 83 Linux
/dev/hda2 3648 4863 97XXX 5 Extended
/dev/had5 3648 4863 97XXX 82 Linux Swap


/dev/hdb1 1 12162 100XXX bf Solaris


I originally had this machine running solaris, now it is using Slackware 10.1. I am newbie at Linux. I want to mount the /dev/hdb1 drive as extra storage on my machine (I.E. to use VMWARE to install a Windows OS).

I tried to delete and replace the partition using cfdisk /dev/hdb1. And it looks like it's working, but after I write to the partiton and drop back to bash and fdisk -l it again it still show Solaris.

How do I get this drive to where I can see it in KDE as a drive I can store data on?

Thanks,
Worm
 
Old 05-24-2006, 01:05 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
fdisk chops the hard drive into part(ition)s with the n command. fdisk is then used to build the file system with the t command. Write the changes with the w command. After writing the changes, use mke2fs to create an ext2 file system, mke2fs -j to create an ext3 file system, mkreiserfs for Reiser file system, mkfs.xfs for XFS, mkfs.jfs for JFS, etc.
 
  


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
Adding a second Fricken hard drive questions DiSGuiZ *BSD 4 03-15-2006 09:13 AM
Adding hard drive questions Gortex Linux - Hardware 8 02-23-2006 05:36 PM
More external hard drive questions -.-' lashnjo Linux - General 1 06-23-2005 02:38 PM
Hard Disk Drive Questions Cyberian Linux - Hardware 3 01-02-2005 12:44 AM
Hard Drive Upgrade Questions. rvijay Linux - Hardware 13 12-26-2003 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration