LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-12-2002, 08:29 AM   #1
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Misc. Linux questions.


HI, I've been fiddling with Linux for the past few weeks
and I've got some queries...

1. Where an I find a compendium of information
on the boot sequence of a Linux box. ie from the
OS loader all the way up to the shell login script.
Something that is preferably written in the style of
Windows Internals.

2. How can I determine the major device numbers which
are in use? Is there some official numbering scheme?
What if a new piece of hardware comes out? How
does the driver writer know which number to be
assigned?

3. Can root not be named 'root'. Can it called something
else (ie w/o having to recompile anything).

4. Can I install a minimal bare bones installation
using just a floppy disk? What are the files I need
and how should I configure the system? Can it
run w/o a hard disk (page file???). I'm trying to
create a custom rescue disk.
5. My /dev/hdc is listed as a block device with major
ver 22 and minor ver 0 during an ls, but when I try
to mount it, it says that /dev/hdc is not a valid
block device. What gives?

6. After I mount my floppy, I would periodically get error
messages (some interrupt error. Cant remeber exactly
what). Why?

Thanks.
 
Old 04-12-2002, 09:31 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Welcome to LQ.

1: On The Linux Documentation Project there's a HOWTO somewhere called something like 'From startup to bash prompt' which takes you through all the processes and stuff. Can be quite heavy going, though.

2: Again, from the above link, there's a HOWTO on hardware and naming/numbering schemes.

3: You can make another user that has (almost?) all the priveledges of root, but I don't think you can actually remove the user 'root' because it is used to run services on startup, or something.

4: There are many, many, many bare-bones Linux 'distros' around. The favourite by many has got to be Tom's RTBT - but it's not the only one. Check out Ibiblio's Linux distro list.

5: Err, not sure. Is it a valid device (i.e. is there actually a device attached to 2ndry Master?), and does it have a filesystem? It it's a ZIP drive, you'll need to have 'hdc=ide-floppy' in tje append section of your lilo.conf

6: Not sure, but could be a bad floppy. Personally I don't mount floppies (unless they're ext2, which is very few), I use the mtools to access Win/DOS floppies.

Hope this helps.
 
Old 04-14-2002, 06:52 PM   #3
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
About the small linux take a look at http://tiny.seul.org/. It is tiny Linux, can be installed from floppies!!

As for block device problem, I had the same on Red Hat 7.2, It took a week to find a solution thanks to linuxcool ! Try depmod -ae. I'm not sure what it does exactly but it fixed the block device problem with my CD-Rom and resolve the problem I had with the floppy. ( I could not mount the floppy)

Hope this helps!
 
Old 04-15-2002, 10:00 AM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Thymox
Welcome to LQ.

2: Again, from the above link, there's a HOWTO on hardware and naming/numbering schemes.

Hope this helps.
No it didnt really. I couldn't find the page for the numbering scheme. Could you post the link here? Thx.
 
Old 04-15-2002, 10:20 AM   #5
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
Re: Misc. Linux questions.

Quote:
Originally posted by ugenn
[
3. Can root not be named 'root'. Can it called something
else (ie w/o having to recompile anything).

You don't want to rename root. I promise you don't. Many of the processes running are owned by root. I'm curious what horrible things would happen if you tried to do this but I'm not going to be the one to try it.
 
Old 04-15-2002, 03:19 PM   #6
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
to mount a drive you need to give a partition number, not just a device. if there is only one partition then the number is 1.
so try 'mount /dev/hdc1 /mnt/<mount point>'. you may also need to specify type with '-t'.
to mount hdc w/ 1 partition with a fat32 FS:
'mount /dev/hdc1 /mnt/fat32 -t vfat'
of course the dir /mnt/fat32 must already exist. if you are trying to mount an ntfs drive be sure to use '-o ro' to mount the drive as read-only or you will make the drive unreadable to windows (although linux will still have access to it). also try 'man mount' for more info on the mount command.
 
Old 04-16-2002, 04:40 AM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Sorry, buddy. I was almost certain that it was on LDP. Perhaps it's in the kernel source tree somewhere? Anyhow, a google.com/linux search comes up with about 7000 matches...
 
Old 04-16-2002, 09:42 AM   #8
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Rep: Reputation: 15
some answers

2. about device no scheme

check

Documentation/devices.txt file in your source code path

i have path
/usr/src/linux-2.4.2/Documentation/devices.txt


3 . you can do one trick

create one user for example mydemo

edit /etc/passwd fle

change user id of that user 0 , & group id too ,

ie. if u have line
mydemo:x:501:501::/home/mydemo:/bin/bash

change it to
mydemo:x:0:0::/root:/bin/bash

you have created synonym for root

so root is not recognised as root name but any user with user id as 0 & group id 0 have root previlages.


6 . is error look someting like
floppy 0 : data CRC error: ......

it is because of bad sectors on floppy (i often see this error to my floppies)

I observed this error start only when i have some bad sectors in my floppy , even scandisk from windows & repairing floppies I dosen't always successful to prevent this error
 
  


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
Misc. Questions About 10.2 Duo Secundus Slackware 1 09-29-2005 05:40 AM
A week of Linux.....couple misc questions justanotherstev Linux - Newbie 4 10-28-2003 03:26 PM
Misc Questions OlRoy Linux - General 3 12-09-2002 06:03 PM
Misc Questions.... ugenn Linux - General 2 06-27-2002 01:00 PM
More Misc Linux Questions... ugenn Linux - Newbie 4 04-16-2002 09:38 AM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration