LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-28-2004, 11:05 PM   #1
rincewind
Member
 
Registered: Mar 2004
Posts: 32

Rep: Reputation: 15
how to create Reiserfs partition


Hi,

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:

Code:
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, 11:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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>



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

Rep: Reputation: 51
Code:
fdisk /dev/hda
n
p
3
[renturn]
[return]
w

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

y
[return]

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

Rep: Reputation: 53
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 02:18 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 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