PDA

View Full Version : Questions on Knoppix



aloy
08-02-2005, 11:22 AM
Hi guys, I am need to Knoppix.
What is an MBR?
I cannot find the Linux Kernel, where is it?

Can somebody enlighten me? Thanks.

Markus
08-02-2005, 11:46 AM
Hi guys, I am need to Knoppix.
What is an MBR? http://en.wikipedia.org/wiki/MBR


I cannot find the Linux Kernel, where is it? It's under /boot/ and called vmlinuz-version. The kernel source is/should be under /usr/src/

aloy
08-05-2005, 03:08 AM
It's under /boot/ and called vmlinuz-version. The kernel source is/should be under /usr/src/

Is the Linux Kernel located in /boot/ or usr/src/ ?? What is the kernel source?

Where is the boot block for Lilo??

Please teach me how to list the content of a CD-ROM from the terminal..

Hi All, I am so sorry for asking so much, but i got no clue anywhere else. Please help. Thanks!

UnderScore
08-05-2005, 05:27 AM
Why do you need to know what a boot block is? Why do you need to know about the kernel source?
What are you trying to acomplish?

aloy
08-05-2005, 10:44 AM
Hi UnderScore, I am currently doing a module on operating systems which includes using Knoppix.

As I am new to Knoppix, I am trying to understand how to use it.

Hence I sought help from the forum, hoping u guys might enlighten me. So Please help.. Thanks.

tdjokic
08-05-2005, 12:10 PM
aloy, I highly respect your wish to learn and work with Linux, but you asks questions that are "basic off basics". You need to learn something by yourself, not only to learn some things, but also to become familiar with documentation and Google. "What is MBR?" is in encyclopedia - http://www.webopedia.com/TERM/M/MBR.html , you don't need "help" to find this.

aloy
08-05-2005, 05:50 PM
Hi, guys, I managed to find MBR using google, sorry for posting that question.

But the other questions such as
1)Is the Linux Kernel located in /boot/ or usr/src/ ?? What is the kernel source?

2)Where is the boot block for Lilo??

3)Please teach me how to list the content of a CD-ROM from the terminal using Knoppix.

I really got no clues to those questions, so please advise.

UnderScore
08-05-2005, 06:13 PM
You said "module on operating systems" is this a secondary school(high school) or college class on operating systems? Shouldn't you be reading & testing & experimenting & searching for the answers and not asking for help. I am not doing this to be mean or to hurt you. You need to learn how to learn and you need to learn on your own. If I just give you the answers, then you have learned to ask someone else and not have learned how to learn and probably not have learned the subject too. A simple google search for lilo boot block (http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&hl=en&q=lilo+boot+block&btnG=Google+Search) turns up an answer to your question. Google is a great resource. See google search for linux kernel stored /boot lilo (http://www.google.com/search?hl=en&lr=&c2coff=1&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&q=linux+kernel+stored+%2Fboot+lilo&btnG=Search). There are many many tutorials, FAQs & guides on Linux. Here are three:
http://oldfield.wattle.id.au/luv/boot.html
http://linux-newbie.sunsite.dk/html/lnag.html
http://www.linux-tutorial.info/index.php

aloy
08-07-2005, 11:11 AM
Hi UnderScore, Thanks for the links to the tutorials.

I have found the answers to the questions,

1) Linux Kernel is located at /boot? I found this answer while using google. However i checked in my lilo.conf file, it states "image=/vmlinuz", hence is my Linux kernel in the /boot directory or ?
2) The boot block for Lilo is /dev/hda.
3) In order to list the directory for a cdrom, I just need to do a "ls /cdrom" at the terminal.

Hence I wish to know if this answers are correct. Please advise.
Thanks.

UnderScore
08-07-2005, 05:32 PM
1)do:
ls -l /
and examine the output. Does vmlinuz exist? If so what is it? Is it a file or is it a symbolic link? If it is a link, where does it point?

2)Boot block is also known as the MBR (master boot record) and is first 512 bytes of /dev/hda and contains the partition table.

3)In most cases, a CDROM disc must be mounted before reading. So first place the CD in the drive. Next find out where the drive gets mounted. It may be mounted on /cdrom or /mnt/cdrom or /media/cdrom. Check /etc/fstab for mount information:
cat /etc/fstab
You might see output like:
james@dualcrush:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda8 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 /mnt/oldir ext3 defaults 0 1
/dev/hda5 none swap sw 0 0
/dev/hda7 none swap sw 0 0
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hde1 /mnt/storage1 ext3 defaults 0 1
/dev/hda6 /home ext3 defaults 0 1
/dev/hde2 /mnt/storage2 ext3 defaults 0 1
/dev/hdg1 /mnt/storage3 ext3 defaults 0 1

It is this line
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
that tells the system how to mount a CDROM disc. To mount it (you may need to be root user):
mount /media/cdromThen read it:
ls /media/cdrom