Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-28-2004, 10:05 PM   #1
Registered: Mar 2004
Posts: 32

Rep: Reputation: 15
how to create Reiserfs partition


I have this huge bug in my head that can't make me to understand how to create an reiserfs partion over the rest of my harddrive. =)
I have compiled reiserfs into the kernel and when i write fdisk -l i get the following result:

mysrv:~# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       15508     7815591   83  Linux
/dev/hda2           15508       19380     1951897+  82  Linux swap
Logically, I should have 70 gig (from start 19381 to end 15061) on my harddrive and I want to partition it as an reiserfs partition.=)

How do I do that? I have mkreiserfs and all of the other tools.

Thankfull for help.
-- Rincewind
Old 03-28-2004, 10:19 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Just like that. You create the partition using
fdisk (cfdisk, ...) and assign it the type of 83,
then you use mkreiserfs to create the file-system
on it
mkreiserfs /dev/<your partition>

Old 03-29-2004, 12:53 AM   #3
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
fdisk /dev/hda

mkreiserfs /dev/hda3
that sould do it, well mkreiserfs asks you a few questions, but i forget the order but i think its


Last edited by SciYro; 03-29-2004 at 12:54 AM.
Old 03-29-2004, 01:15 AM   #4
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,299

Rep: Reputation: 65
linux doesn't even care what the partition type is. you can format any partition as reiserfs or ext2, and use it. windows uses it though. seriously. you can make it any type at all, and format it as reiserfs, as long as you have fstab pointing in the right place, it will work. just don't make it extended or bsd or solaris. those would be treated differently. i typed that just so you would know the partition type really isn't important.

just to confuse the crap out of people on this site, you could make a big type 82 partition, and format it as reiserfs, and make make a small type 83, and mkswap on it. it would work fine and you could confuse everybody to no end.

Last edited by whansard; 03-29-2004 at 01:18 AM.


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
ReiserFS partition SOS!!! it-s Linux - Hardware 1 09-09-2005 02:10 AM
Resize ReiserFS partition? cdlyon Linux - General 1 04-19-2005 11:32 AM
Accessing a ReiserFS partition from XP Kelvie Linux - General 3 08-14-2004 12:06 PM
Help changing partition to ReiserFS Gates1026 Linux - Newbie 7 09-18-2003 10:03 PM
reiserfs partition is unreachable Flash Linux - Hardware 2 05-14-2003 10:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration