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 getting frustrated trying to learn things at the command line because I keep getting the message bash: command not found
apparently there's no finger command, or lsmod, lspci, lsusb, or a lot of other things that are listed as basic linux commands in the files i've been reading. is it just me, or are these commands really missing on my system?
(i'm using out-of-the-box mandrake 9.1, running a gnome terminal, not usually as root)
Most of those commands are going to require root privileges. Whenever you get a message like that, if your database is up to date, do a 'locate foo' and it'll show. Do a 'ls -l foo' and you'll probably see a lot of 'root's and the 'x's stopping suddenly.
But Mandrake, by default, does not give you some of those commands. They think you want their version:
lspcidrake
lsusbdrake
Which have a twist on em.
You still can get the real packages, it just takes a bit more work, and usually entails some elusion of downgrading packages since occasionally Mandrake will beef up a release version to give you the sense of 'latest package' even though it's their tweaked out version of the last release...
Try Debian.
It is great with broadband
It is used by most live CD distros - Knoppix, Mepis, Morphix, Damn Small Linux etc
It has all possible software working on it!
And Hurd is coming................
I'm looking at the different distros now to see which one I'd like to install and play around with, but I had a quick question. Since I've already got Mandrake 9.1, can I create a new / partition for slackware/debian or whatever, and use the same /swap and /home partitions?
Swap is just fine and encouraged, however sharing home can be a bad idea since you'll have version conflicts and stuff (home is where all the user specific info is kept for each program). But a swap and a /boot partition should be 'shared' for each distro.
Disk /dev/hdb: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 764 6136798+ 83 Linux
/dev/hdb2 765 2728 15775830 5 Extended
/dev/hdb5 765 827 506016 82 Linux swap
/dev/hdb6 828 1448 4988151 83 Linux
/dev/hdb7 1449 2728 10281568+ 83 Linux
hdb5 is my /swap partition
hdb6 is my /home
hdb7 is my /multimedia
I also have 7G left unpartitioned for my new distro. My Mandrake Control Center partitioning GUI shows / on hdb1, but I'm guessing it's actually hdb2 since it doesn't list a /boot partition at all (and there clearly is one on hdb1)....is that what it looks like?
So when I'm installing I should create new / and /home partitions on the unused 7G right?
/boot is probably not it's own seperate partition... yet.
Yes, in the free 7G you'll wanna create yourself a new / and **optionally** a new /home (good idea for reinstalling, backing up etc..). And probably a /boot that you will end up sharing on your existing distro as well (you'll edit fstab to show the changes, copy the /boot info to the new partition and mount it up).
/dev/hdb1 IS your / hdb2 is the container for which all your logical drives exist (or extended as I always get the 2 mixed up ). hdb1 is primary, hdb2 is extended and everything after that is because hdb2 is extended.
Doesn't /boot have to be on the first 1024 cylinders? Or is that just for older versions? If it does, how should I go about creating a new partition for it? Copy the present / partition to another location then resize the current hdb1, then copy / and /boot back separately?
/boot no longer has to be within those parameters IIRC. In fact I don't think it was /boot that had to be there, but rather the location of the boot loader itself, the /boot had to be within the first 8GB of the drive? Not sure, but anyway, no I don't think it's an issue anymore.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.