Linux - NewbieThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a new slackware user, (new to linux in general actualy) I plan on learning linux by installing it, playing around with all the settings until I break it, and installing fresh to start again.
I was read somebody's post about setting up DHCP and I ended up starting my own DHCP server and causing a broadcast storm on my home network lol...
So now I couldn't figure out how to disable my DHCP server... so i'm playing around in root with lots of settings and some how I can't log into any X window system anymore... this doesn't really bother me that I need to reinstall linux (I've already done it a few times)
The problem is that this time I have files that I downloaded (Firefox, Samba, Java, ext.)
I launched CFDISK and made a new linux partition "/dev/hda6/" that I can keep my files on, but I can't figure out how to format the new partition and mount it, to store my files on it while I reinstall linux on "/dev/hda5/"...
Can anybody tell me the commands I use at the console to do this?
ill start by answering your question. first you need to decide on the file system you want to use on this partition. reisersfs is better with smaller files, while ext. 2 is better with bigger files, ext. 3 is a journalized version of ext. 2 i usually use reisers eitherway, just cause i have had better luck with it. so you would, as root type:
mkreiserfs /dev/hda6
#or
mke2fs -j /dev/hda6 #(for ext. 3)
#or
mke2fs /dev/hda6
now proceeding on,, why dont you try to fix wha tyou mess up. that is how i learned linux. actaully i did it the way you are doing it, til i got more comfortable with it. i used to think they only way to fix it was to reinstall, but that is windows thinking. linux can easily be fixed. so if you ever want to tackle a problem, hit the forums with a description of the problem, and what you did to cause it.
edong23 : Well, I did try to undo the setting changes i made but i made so many that i dont know what I did to make X stop working, I didn't realy think i was changing things that would effect it, so i don't know where to start looking to fix it.
Ok, using both of your advice i got ext2 on /dev/hda6 , but i can't firure out how to read/write to it, do i need to mount it somehow?
Last edited by Blackthorns.Legacy; 06-24-2005 at 10:48 PM.
Originally posted by Blackthorns.Legacy edong23 : Well, I did try to undo the setting changes i made but i made so many that i dont know what I did to make X stop working, I didn't realy think i was changing things that would effect it, so i don't know where to start looking to fix it.
Ok, using both of your advice i got ext2 on /dev/hda6 , but i can't firure out how to read/write to it, do i need to mount it somehow?
yes, eg:
# cd /mnt
# mkdir hda6
# mount /dev/hda6 /mnt/hda6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.