- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Adding a disk to RH8
Operating System - Linux
1753401
Members
7340
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 02:51 AM
тАО01-31-2003 02:51 AM
Hi,
I just added a 30GB hard drive to my Redhat 8 box. The hardware browser tool shows the disk as:
hdb1 FAT
hdb2 Extended
hdb5 FAT
This disk was a windows disk. The problem is I'm not able to create any file systems on this disk. How can format it and use it? Is it possible to use LVM? (no LVM used currently)
Appreciate any help.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 05:02 AM
тАО01-31-2003 05:02 AM
Solution
Hi,
if you want to access the old old data you just have to mount the partitions:
$ mount /dev/hdb1 /mnt/Windows1 -t vfat
$ mount /dev/hdb5 /mnt/Windows1 -t vfat
If you want to use it as one linux filesystem you should repartition the disk with fdisk / cfdisk / ... and change the type to Linux (83). Then you should create a new filesystem on the new partition. You have to choose what filesystem you want (e.g. ext2, ext3, reiserfs) and use the required tool:
$ mkreiserfs /dev/hdb1
Then you can mount the partition
$ mount /dev/hdb1 /mountpoint
and include the mount in /etc/fstab.
Regards,
Joche
if you want to access the old old data you just have to mount the partitions:
$ mount /dev/hdb1 /mnt/Windows1 -t vfat
$ mount /dev/hdb5 /mnt/Windows1 -t vfat
If you want to use it as one linux filesystem you should repartition the disk with fdisk / cfdisk / ... and change the type to Linux (83). Then you should create a new filesystem on the new partition. You have to choose what filesystem you want (e.g. ext2, ext3, reiserfs) and use the required tool:
$ mkreiserfs /dev/hdb1
Then you can mount the partition
$ mount /dev/hdb1 /mountpoint
and include the mount in /etc/fstab.
Regards,
Joche
Well, yeah ... I suppose there's no point in getting greedy, is there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2003 06:49 AM
тАО01-31-2003 06:49 AM
Re: Adding a disk to RH8
You can also use 'parted' to repartition (usually without data loss). Read the man page for parted to find out about all the options.
Bruce
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2003 12:39 AM
тАО02-01-2003 12:39 AM
Re: Adding a disk to RH8
Hi,
Jochen Heuer and Bruce Copeland: good solutions thanks for your responses.
I tried Jochen's solution but I ran mkreiserfs first and created a Reiserfs file system and it worked. I mounted a directory and I'm done. For Bruce's solutin I did not try it but the following menu gave me a good idea og how to do it. Thanks
(parted)
check MINOR do a simple check on the filesystem
cp [FROM-DEVICE] FROM-MINOR TO-MINOR copy filesystem to another partitio
help [COMMAND] prints general help, or help on COMMAND
mklabel LABEL-TYPE create a new disklabel (partition table)
mkfs MINOR FS-TYPE make a filesystem FS-TYPE on partititon MINOR
mkpart PART-TYPE [FS-TYPE] START END make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a filesystem
move MINOR START [END] move partition MINOR
name MINOR NAME name partition MINOR NAME
print display the partition table
quit exit program
resize MINOR START END resize filesystem on partition MINOR
rm MINOR delete partition MINOR
select DEVICE choose the device to edit
set MINOR FLAG STATE change a flag on partition MINOR
Thanks again......
Jochen Heuer and Bruce Copeland: good solutions thanks for your responses.
I tried Jochen's solution but I ran mkreiserfs first and created a Reiserfs file system and it worked. I mounted a directory and I'm done. For Bruce's solutin I did not try it but the following menu gave me a good idea og how to do it. Thanks
(parted)
check MINOR do a simple check on the filesystem
cp [FROM-DEVICE] FROM-MINOR TO-MINOR copy filesystem to another partitio
help [COMMAND] prints general help, or help on COMMAND
mklabel LABEL-TYPE create a new disklabel (partition table)
mkfs MINOR FS-TYPE make a filesystem FS-TYPE on partititon MINOR
mkpart PART-TYPE [FS-TYPE] START END make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a filesystem
move MINOR START [END] move partition MINOR
name MINOR NAME name partition MINOR NAME
print display the partition table
quit exit program
resize MINOR START END resize filesystem on partition MINOR
rm MINOR delete partition MINOR
select DEVICE choose the device to edit
set MINOR FLAG STATE change a flag on partition MINOR
Thanks again......
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP