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.
I decided to take windows of my desktop earlier and so re-partitioned my harddrive. I usually use the MBR for booting but this time i decided to create a /boot partition for a change (first time). So now my partitions look like this..
I went though all the usual installation stuff and got to configuring lilo. I chose expert mode as usual and this time chose 'Install to Superblock' instead of MBR (wasn't another option apart from 'skip'. Then added /dev/hda1 as the Linux partition. I finally finish the installation and reboot. Problem is i get presented with the lilo boot screen with the dual boot choices from my last install. The /boot partition seems to have an image in it, amongst other things.
I've never booted from a /boot partition before, just though i would give it a try. So my question is how do i use /boot instead of the MBR which has the last installations options in it? Sorry i can't show you a copy of lilo.conf, i am on another computer.
I could easily just use the MBR but i would prefer to find out what the problem is. Maybe i made a wrong choice when configuring lilo. I'm running Slackware 10.
Last time you probably used KDE if so! That sort of lilo MBR os created automaticly by KDE. If you have now KDE installed edit this option at control centre. Go to administrator's mode and reedit lilo. Be sure to uncheck checkbox on first tab down. If I recall correctly this checkbox is your current problem because it loads defaults automaticly
Thanks for the reply. Is there a way i can do this without using KDE? I have to boot from floppy and try to reconfigure from there. During the lilo configuration i tell it to boot /hda1 which is the /boot partition i created during installation. Usually i choose the root partition when using the MBR. Here is my partition layout and lilo.conf file.
hda1 /boot < ==== set to bootable
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hda6
#compact # faster, but won't work on all systems.
#timeout = 5
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# VESA framebuffer console @ 1024x768x32k
# VESA framebuffer console @ 1024x768x256
# VESA framebuffer console @ 800x600x64k
# VESA framebuffer console @ 800x600x32k
# VESA framebuffer console @ 800x600x256
# VESA framebuffer console @ 640x480x64k
# VESA framebuffer console @ 640x480x32k
# VESA framebuffer console @ 640x480x256
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
You need to install a bootloader.
Log in as root and I take the configuration file generated by the slackware install in /etc/lilo.conf.
Open editor and change the boot option to 'boot=/dev/hda1'.
After, run lilo with no switches.
Use the command 'lilo -M /dev/hda' if you want to have MBR
Were you Gentoo user before?. It's only them set separate boot partition. Please, keep in mind that Slackware installed your linux on root partition. Obviously that your boot partition is as empty as a bitch's head, otherwise you'd be turning Slackware to LFS. If you installed Slackware from original CDs that your boot image is in root partition. According to that build your lilo. And it's possible to create MBR with normal partition table, without boot partitions. Just curious, this boot partition of yours, is it 32MB?
Through hanging around forums alot i have seen many different partition layouts mentioned. Since i was doing a new install i thought what the hell i'll try something different. I am now thinking that is isn't a good idea after all and i should just go back to how i used to do things. I usually dual boot like with XP/Slack and just want Slack on my desktop now. Maybe it's best to go with the /swap, /, /home setup after all. Never used Gentoo, i started with Mandrake a few years ago and then bought Slack, been with it since. I never felt the urge to try anything else after that.
My boot partition is 95M and i installed from the CDs.
My fstab is the same as above with root = /dev/hda1 as pointed out my SlackerLX. It's also been /dev/hda but this still gives a kernel panic aswell. I have also tried changing boot and root within lilo.conf between /hda and /hda1. The /boot directory isn't empty either.
Distribution: LFS 5.0, building 6.3, win98se, multiboot
I use grub myself so I'm not very familiar with lilo.conf syntax, but looking back over this thread the lilo.conf you posted looks wrong to me. For one thing there should be an append statement passing the / partition with a kernel option root=hda6 (or maybe root=/dev/hda6) and iirc the append should come after the label statement. The root=hda1 before the label may be a necessary global option setting lilo's /boot, not sure. I know with grub one thing that causes problems is confusion between grub's "root" (this is the partition where menu.lst, the stage files, etc, reside) and / . They aren't the same thing, although in some cases they will be.
>>edit Didn't have lilo on my system, so I download the source and installed the man pages. In your previously posted lilo.conf, you are telling lilo to mount /dev/hda1 as root (/). Try changing to: