LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2012, 11:11 AM   #1
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Rep: Reputation: Disabled
mke2fs -jv /dev/<xxx> ; will not make a filesystem here


With command-line:fdisk -l
I just have one partition primary: /dev/sda1 (boot)

First of all in LFS book is command-line
mke2fs -jv /dev/<xxx>. I replace <xxx> by sda1
It will be mke2fs -jv /dev/sda1

This is my mistake:
/dev/sda1 is mounted; will not make a filesystem here!

I use Slackware 13.37

Might you show me what's wrong with it?
Thank you very much!!!
 
Old 10-28-2012, 12:00 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,701

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
mke2fs' purpose is to create a file system in a partition but is not supposed to erase an existing file system.

If you really want to do that (which would of course completely and definitely erase you Slackware 13.37 system) you should use that command from elsewhere (for instance an installation medium or a live DVD or USB key).

If instead you want to add a new partition to your system then you could use 'cfdisk' for that if you have enough unused space on your hard drive, else 'gparted' to re size hda1 first, then create the new partition in the freed space. After that you will be able to use ext2fs to install a file system in the new partition (gparted can do that for you as well).

Good luck.

Last edited by Didier Spaier; 10-28-2012 at 01:48 PM.
 
1 members found this post helpful.
Old 10-29-2012, 06:28 AM   #3
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Thank you very much!

I reinstalled Slackware with 2 partition include sda1 and sda2.
mke2fs -jv /dev/sda2
It's okey!
 
  


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
[SOLVED] mke2fs -jv /dev/<xxx> ; will not make a filesystem here Forget-Me-Not Slackware 3 10-30-2012 03:35 PM
http://www.spamhaus.org/query/bl?xxx.xxx.xxx.xxx (Server cannot send email now!) RMLinux Linux - Server 3 05-08-2009 02:06 AM
smbclient -M xxx.xxx.xxx.xxx Doesnt Work DiscreetControl Linux - Networking 7 12-28-2007 10:50 AM
how to create ext3 filesystem using 'mke2fs -j' shankara Linux From Scratch 2 03-31-2006 01:18 PM
Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server ocavid Linux - Newbie 2 03-16-2005 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration