Results 1 to 6 of 6
Hi all,
I am setting up new machine from scratch to use Linux, which I will bootstrap myself - i.e. no distribution used. I am trying to learn Linux, but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-23-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
Can I boot Linux without GRUB/Lilo/other (single disk/single OS setup)
Hi all,
I am setting up new machine from scratch to use Linux, which I will bootstrap myself - i.e. no distribution used. I am trying to learn Linux, but have experience with hardware and am a C/C++ programmer, plus I have read a fair share of Linux material.
I want the system to boot silently straight to desktop/shell, without any menus, since I only will be having a single harddrive and a single OS - Linux.
Can one boot the system without a bootloader such as GRUB or Lilo? Can i put the kernel image somewhere on the drive and trust that it will bootstrap the OS? If, so how can it be done?
IF, and only IF it cannot be done, can one configure GRUB or Lilo to boot non-interactively?
The machine is a new Thinkpad T61 2007 model, the drive is a SATA 100Gb Seagate drive.
Thanks.
- 08-23-2007 #2
It can be done. People used to put the kernel raw onto
floppy disk without format, and it would load on boot.
You need some code in the MBR that points to your kernel
image. If you know assembly language and BIOS calls
it would be no big problem, but LILO or GRUB could
be set up non interactive and boot the linux kernel with
no menus or options.
http://www.doc.ic.ac.uk/lab/labman/l...man.cgi?LILO(8)
GRUB Manual: Table of Contents
- 08-23-2007 #3
Add the string "hiddenmenu" anywhere on your grub.conf or menu.lst file
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 08-23-2007 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
Thanks guys, I am guessing GRUB/Lilo noninteractive boot would be fast enough.
I do not wish to do the assembly code
I could, but i dont see it is worth it in my case...
- 08-24-2007 #5Just Joined!
- Join Date
- Aug 2007
- Posts
- 24
I forgot to ask, do I need to make a partition of < 1024 cylinders, or the limitation does no longer apply ? Not sure yet whether i will use GRUB or Lilo, but I am sure a BIOS of 2007 laptop model handles whatever earlier BIOS models couldnt regarding the boot process.
- 08-27-2007 #6
No, use a partition with whatever size you want
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums


Reply With Quote
