Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-16-2012, 01:19 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2012
Posts: 2
Rep: 
|
Disk doesn't contain a valid partition table?
The disk is mounted and seems to be working properly. In fact, I have about 800GB of data on it.
fdisk tells me this:
"Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table"
Is this a problem?
When I created the filesystem, I think I did a mkfs .../dev/sdb
Should I have instead used sdb1?
Thanks
|
|
|
|
01-16-2012, 01:28 PM
|
#2
|
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,674
|
@ Reply
Hi vihag,
Welcome to LQ!!!
How did you create the partition. I mean using disk druid at the time of install or later using fdisk or parted.
If you created the partition using parted then it is normal that you get such warning because both tool works do the same thing but in a different way.
I doubt that you ran mkfs /dev/sdb because that will not work.
|
|
|
|
01-16-2012, 01:36 PM
|
#3
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,172
|
Quote:
Originally Posted by T3RM1NVT0R
I doubt that you ran mkfs /dev/sdb because that will not work.
|
Yes, it will work. You don't need to make partitions to make a filesystem on a disk, although it is recommended.
To the OP: While the approach to use the entire disk without partitions is rather unusual there should be no problems with it, except for some programs that don't expect it to be that way. Make sure that you don't let those programs alter anything on the disk, or you may loose your data.
I personally don't like this approach, I would make a backup of that data, repartition the drive and then put a new filesystem on the partition, not the whole disk. But this is just my opinion, if it works for you then use it that way.
|
|
|
1 members found this post helpful.
|
01-16-2012, 01:55 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2012
Posts: 2
Original Poster
Rep: 
|
I will back everything up and recreate it. I didn't create a partition. I'm a Linux CLI amateur and I thought mkfs would take care of that, or at least complain if everything wasn't in order.
Thanks for the info.
|
|
|
|
01-16-2012, 02:10 PM
|
#5
|
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,674
|
@ Reply
It does war you before you try to run mkfs on the device itself. See below:
Code:
mkfs /dev/sdd
mke2fs 1.41.12 (17-May-2010)
/dev/sdd is entire device, not just one partition!
Proceed anyway? (y,n)
|
|
|
|
01-16-2012, 04:46 PM
|
#6
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Rep:
|
Hello,
I'm using this:
Code:
mkfs.ext3 /dev/sdb1
* After creating the partition of course.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|