Linux - GeneralThis 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.
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 have a partition I need to rename...from its current
hda1 to something more descriptive like MYLINUX. It is
Linux formatted, but is not being picked up on bootup
as existing. It is an additional partition I made with
partition magic, to be storage space. I have RH7.2,
with ext3, and can't seem to figure out how to make it
see this new partition at all. I can't rename it, except under Linux, so I am at a standstill. Help?
Or you can create a symlink
ln -s /dev/hda1 /dev/mylinux
and edit the /etc/fstab file to reflect the change, but I don't see a sense on doing so, but anyway. To be able to see it you have to mount it
mount -text3 /dev/myllinux /mnt/mylinux
NOTE: /dev/mylinux must be a symlink to /dev/hda1 and /mnt/mylinux must exist on the system, create it using mkdir /mnt/mylinux), then you can add the following line to /etc/fstab
/dev/mylinux /mnt/mylinux ext3 defaults 1 1
Okay, I can add it to .etc/fstab to mount this way..
And this causes Linux to name this partition ?
Oh, and neo77777, I don't have a clue what you are saying.
Well, maybe a clue, but that's about all...I have been in Linux,
oh, about 7 weeks, off and on. (As to the sense of this,
I am using it as a recovery partition or backup so as not to
lose all the updating I have spent hours doing, since I have
no external way to backup anything. Best I could come up with.)
The symlink is like an icon, so that I will know that
it is mounted on my desktop? A mount indicator? Okay....
Now then, I add a line to etc/fstab and I call the partition
what I want and save the edited change? Do my mount points
come into play at all?
Yes.
You don't usually change the actual device/paritition name, but rather you would create a mount point with a descriptive name and mount the partition there. This is somewhat akin to what happens in DOS/Win: you can't change the device name (e.g.: the master drive on your primary IDE channel will always be C:, but you can give it a description using the "label" command.
Look in /etc/fstab- you'll see that your devices (fd0, hdc) and your partitions (hda1, hda2, hda5, ect.)
are mounted under meaningfully-named mount points (/mnt/floppy, /mnt/cdrom, /boot, /, /tmp, etc.).
The upshot is that the system needs to reference devices and partitions by certain names, and you can't change that- but you can mask the way the names are seen by the user via the mount points. Clear as mud?
No, you filled in the gap...There was something I just didn't
understand, and you made it clear. And it is now done...
NO MUD IN YOUR NOTE. AND I THANK YOU. It works well!
Meanwhile, say a prayer for me, DMR, because I think I stirred
up the Indians at another posting over here. ("Terminal")
I guess we all get tired of having READTHIS thrown at us,
at least once in a while. You answered me...from your knowledge.
And I do so appreciate that. In fact, at this site, this last batch
of READTHIS is really the first time someone has told me, in
effect, RTFM, at this site. But then, my question may have caused
that...I must learn to ask better. And maybe I am misinterpreting..
Have a good day and thanks again,
LOL!
Without even looking at your "terminal" thread, I knew you referring to an incident in a dark alley with acid_kewpie. You got luckly, though- I've seen him chomp off a Newbie's butt-cheek in one bite.
However, all who responded to your post did give the right answer. You asked how one learns command line, and they gave you the most popular method (another would be to take UNIX classes, but you would still be reading books). There really is no single, step-by-step recipe for learning something as complex as UNIX; it's a long process, and everyone has a different approach. The purpose of support forums is mainly to help you work through a particular, specific problem when you get in too deep and have exhausted the resources available to you. That's why you might get a lot of what could by misconstrued as RTFM type answers, but I think most of the people will only be trying to help by pointing you to resouces of which you might not have been aware.
Some people just have a better bedside manner than others...
Note: you almost didn't get this because of the poor mechanical
problems...I had to sign in twice, and it was hard to find the
thread again. OH, well...or is it the internet today? Could be either....to be fair. Or a combination. STANDARD DISCLAIMER..
THANK YOU!
Your answer is reasonable, thoughtful and sane, DMR.
I did some research before I asked the question,
but I asked the question poorly, in hindsight, I will
admit. (The Terminal Thread)
I do appreciate your reasoned and reasonable
reply. Trying to make a new Partition for Linux was interesting in
that I got such blatantly wrong answers. And, worse, I caught
one prominent site putting an interesting GIF with a hidden
URL in it, every time I signed in. I think that is called a WEBBUG,
which is like spying to me. So, all in all, I guess I am in
the process of deciding which forums are LEGITIMATE
and which are NOT, as well as learning Linux. SHEESH!
I guess when someone says come to my site, and I went
last week and CRASHED there....and everybody has a book,
when I have bought too many now. On recommendations, too,
and many of them are useless.... Should have just said thanks
and gone off...in hindsight.
DMR, on that note, then, I take an overdue vacation. And
try to clear my head. Like you, I am one of the guys who is
willing to take time for others. In fact, I am helping an ArchBishop
right now fix a Windows problem... And unless they have some
distro in Latin, I will be doing good to get him to even stay computing, let alone trying to convert Him-- to Linux, that is.
Have a good week...
Tom
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.