LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-13-2003, 01:57 PM   #1
eculbert
Member
 
Registered: Aug 2003
Location: Dante's inferno..er..Metro Phoenix area
Distribution: knoppix3.2/slack8.1/mandy9.1
Posts: 30

Rep: Reputation: 15
Lightbulb What does this mean?


The /etc/ftsab file is below. I only get knoppix when I boot. I have two linux versions installed and they are where indicated, but it doesn't show, nor boot to anything except knoppix.

KNOPPIX is loaded on the hd at hde7, slak at hde2, and dos at hde1

Any help would be appreciated. I need to know why lilo isn't seeing hde1 and hde2 and giving me a choice. I previously posted the lilo.conf file on my other post.

I have only one hd, and it is on a pci controller card. Therefore there are no hda hard drives. The motherboard bios only controls the flappy and the cdrom.

IF I put the hd on the mb bios, it is slower by a factor of almost 3:1 according to 'diskspeed32' . That is why I have it on the pci card. The w98 programs really 'jump' up now compared to previously..but I cannot get into dos as knoppix wants to boot only. I made a boot floppy and can get into the slack on hde2.

What needs to be changed???


# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hde7 / ext3 defaults,errors=remount-ro 0 1
/dev/hde8 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hde1 /mnt/hde1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/hde2 /mnt/hde2 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hde5 none swap defaults 0 0
# Added by KNOPPIX
/dev/hde6 /mnt/hde6 ext3 noauto,users,exec 0 0
 
Old 09-13-2003, 02:00 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Booting is controlled by the boot loader, not fstab. So we'll instead need to take a look at your boot loader's config file.

For lilo it's:
/etc/lilo.conf

And you'll wanna post it up in this thread as well, as it's not likely many members will search your other posts for the information

Post that up and tell us a bit about your partitions.

Also post up what you get from:
fdisk -l (FDISK -L lowercase)

And where are the kernels for all these distros?

Cool

Last edited by MasterC; 09-13-2003 at 02:01 PM.
 
Old 09-13-2003, 03:08 PM   #3
eculbert
Member
 
Registered: Aug 2003
Location: Dante's inferno..er..Metro Phoenix area
Distribution: knoppix3.2/slack8.1/mandy9.1
Posts: 30

Original Poster
Rep: Reputation: 15
Here is my /etc/lilo.conf also.

boot=/dev/hde
vga=791
prompt
timeout=99
append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

image=/boot/vmlinuz-2.4.21-xfs
label=knoppix
root=/dev/hde7
read-only
initrd=/boot/initrd.gz

## A Windows installation, example for partition 1 on first IDE harddisk
other=/dev/hde1
label=dos
optional
table=/dev/hda1

As stated above in first post, no hd's on primary bios due to it being slow. So everything runs off of the pci card bios. For example, the orginal hd ran at 5megs/sec on it, but at 10m/sec on the addon card. The new hd is capable of more than the mb and k6-2 350 is capable of. When running that diskspeed32, the cpu usage hits 95% plus, prior, it was 60 and about 35.

Here is the fdisk -l
I couldn't find anyway of copy and paste from the run command, so pardon the typing (very bad eyes).

Disk /dev/hde: 41.1 gb,
255 heads, 63 sectors/track, 4998 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks id System
/dev/hde1 * windoze 1 1173 9422091 c w95 fat32 lba
/dev/hde2 * slak 1174 2389 9767520 83 linux
/dev/hde3 2390 3798 11317792 5 extended
/dev/hde5 2390 2425 282mb 82 Linux swap
/dev/hde6 2426 3033 83
/dev/hde7 * (knopp) 3034 3762 5855661 83
/dev/hde8 3763 3798 282.mb 82


As final solution. the original hd is still available, could reformat and load w98 and both linux's.
 
Old 09-13-2003, 03:09 PM   #4
eculbert
Member
 
Registered: Aug 2003
Location: Dante's inferno..er..Metro Phoenix area
Distribution: knoppix3.2/slack8.1/mandy9.1
Posts: 30

Original Poster
Rep: Reputation: 15
Oh, forgot, the kernnels should be in the two bootables hde2 and 7
 
Old 09-13-2003, 03:19 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Ok, let's try to tackle this thing a bit:

First:
hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi

Is really excessive. That should ONLY have your actual CDROM devices as the scsi emulation in your append statement.

Next:
In your boot loader entry, there is no mention of ANY other distro or OS. That might very well be the reasoning for not showing other options

You'll need to add something there to boot them, but first...

You need ALL your kernels in a single /boot directory. That's ALL kernels for each distro, in 1 distro's boot directory. So, if the boot loader is going to be ran from Knoppix, then all the kernels will need to be in /boot of knoppix.

Then:

Create a boot loader entry that looks similar (this is just an example) to this:
image=/boot/vmlinuz-other-distro (corresponds to the kernel for the other distro that now should live in Knoppix's /boot)
label=OtherDistro
root=/dev/hde2
read-only


This would be an entry for slackware if indeed, slackware was installed to /dev/hde2. So be sure to copy the kernel from /mnt/hde2/boot to /boot if you are in the Knoppix boot up.

Continue doing things similarly for other distros, and then, when you are finished making all your changes, save and exit, then as root type:
/sbin/lilo -v

The -v is going to give you some good information regarding the new entries you create. It should tell you whether the kernels exist and if you syntax is wrong.

If all goes well, upon reboot you should then have more options and be able to boot into those other distros.

Lastly:
To copy and paste from a terminal, you simply need to highlight the text, then to paste press both mouse buttons down at the same time, or if you have a middle button press that instead. If you have a scroll button, that is considered a middle button, so press that to paste.

HTH

Cool
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 PM.

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