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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello all, i have a dual boot sys with win xp, and Knoppix 4.0.
I had installed Debian, and decided to remove it, it had failed to detect my satellite modem, and i could not figure out where to even start that task.
Anyway I then repartitioned and installed Knoppix 4.0 over the Deb install, all went fine, but now I have a kernal panic, grub did not update, and is trying to boot the debian, but it cant.
I checked the grub.conf, and it still has the debian configuration, i can "rem" them but i need to add the knoppix configuration path and init to the grub.conf, does anyone know the default path to set this too, and the right vmlinuz file?
my root is sda6, and my knoppix install is sda7.
I would post the grub.conf here but i had to boot windows to get on the net to ask for help, and i cant access the grub.conf from windows.
This machine does not have a floppy drive, so i could not use the floppy drive grub method to repair.
As a matter of interest how do you know that you are looking at the left over by the Debian because Knoppix is not know to support Grub.
I make this comment because its is possible that you repartitioned but didn't rebooted and the Debian wasn't cleanly removed. There is no way Knoppix would have Debian information from a clean install.
You should be able to get Knoppix's Lilo to work. Check to see if you got /etc/lilo.conf in Knoppix's root.
If you boot Knoppix with debian's removed or damaged kernel Knoppix should panic.
You can boot to another Linux, say using Knoppix, mount your sda6, change root into it and replicate lilo by
Thank you for the reply, i booted my dvd knoppix to get this file posted, can i get rid of grub, and change to lilo without rendering windows unbootable, the debian install setup grub for me and still has the debian references in it.
i did not know that grub did not work with knoppix, and the install did not give me an option to use lilo
I am hoping to keep my windows intact until i get this install working properly.
the lilo replicate you mentioned, will it alow the dual boot for knoppix and windows?
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# title Windows 95/98/NT/2000
# root (hd0,0)
# chainloader +1
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/sda7 ro ### isk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet vga=791
## default grub root device
## e.g. groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
Your Windows partition is as safe as you can expect. It is never an issue.
If you have a Grub floppy you can boot it up immediately. The instruction to boot it manually is last 3 lines of your post #3. You can actually try to make a Grub floppy by fllowing the simple steps of the Chapter 3.1 of the Grub Manual . The souce of Grub's stage1 and stage2 are obtainable Knoppix version 4 and above if you got it.
I just checked my Knoppix 4.0.2. It has both Grub and Lilo.
In that case the instructions to replicate the boot loader are as follow, after booting to Knoppix DVD, click terminal, become the super user (admin)
mount /dev/sda6 /mnt/sda6
chroot /mnt/sda6 <----- you are inside the hard disk version of Knoppix now
do 2 floppies one for Lilo and one for Grub
lilo -b /dev/fd0
reboot (leave on floppy behind)
I have already given the instruction for Grub to boot your Windoze. The equivalent necessary lines in Lilo's /etc/lilo.conf are just