Unix Technical Forum

Boot loader

This is a discussion on Boot loader within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> In attempting to decide whether to go with slackware for my lab when I switch, I have attempted to ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 10:39 AM
Liam Marshall
 
Posts: n/a
Default Boot loader

In attempting to decide whether to go with slackware for my lab when I
switch, I have attempted to load it on the three most prevelant machine
types we have in there currently (different cd-roms, processor speeds,
memory, etc.) We have five different types due to the nature of us
upgrading/replacing 6-12 machines each year (Hey, money is tight in
schools)

The first one wouldn't let me get far at all, didn't detect the cdrom
drive after booting from it in order to "Select Source". Go figure, I'll
just use another cdrom in it hopefully

The second machine installed flawlessly and booted up fine.

The third installed flawlessly, but I did one thing different. On the
second I skipped boot disk creation. Everything worked and it was just a
test so I figured what the hell. The third one I decided to make the boot
disk. Everything installed fine, boot disk created, but I tried to boot
without it and nothing. Boot with it and everything is fine.

The only thing I can think of that I did wrong was during partitioning I
created the swap partition first then the linux partition for root. Is
that wrong? I also created the boot disk. If you do that does it not
make the hard drive bootable?

Help appreciated. Slackware looks like the way to go for us. And I like
the Edutainment software loaded when you select full install!

Thanks for your help

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 10:39 AM
Joost Kremers
 
Posts: n/a
Default Re: Boot loader

Liam Marshall wrote:
> The third installed flawlessly, but I did one thing different. On the
> second I skipped boot disk creation. Everything worked and it was just a
> test so I figured what the hell. The third one I decided to make the boot
> disk. Everything installed fine, boot disk created, but I tried to boot
> without it and nothing. Boot with it and everything is fine.


it's been a while since i last installed slack on a machine with a floppy
drive, but IIRC there are two moments in the installation where you can
create boot(able) disks. one is when you install lilo, the other is when
you can create a rescue disk. lilo is necessary to boot linux, and if
you've installed it to a floppy, it's not installed to the hard disk, so
booting is only possible with that floppy.

> The only thing I can think of that I did wrong was during partitioning I
> created the swap partition first then the linux partition for root. Is
> that wrong?


no, there's nothing wrong with that.

> I also created the boot disk. If you do that does it not
> make the hard drive bootable?


like i said, if you mean to say you installed lilo to a floppy disk, then
yes, you cannot boot linux from the hard disk alone.

the solution is to boot again from the install cd, rerun the lilo setup and
select the option 'install lilo to the MBR'.

HTH

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 10:39 AM
Liam Marshall
 
Posts: n/a
Default Re: Boot loader

On 16 Apr 2004 00:48:03 GMT, Joost Kremers <joostkremers@yahoo.com> wrote:

snip...

>
> like i said, if you mean to say you installed lilo to a floppy disk, then
> yes, you cannot boot linux from the hard disk alone.
>
> the solution is to boot again from the install cd, rerun the lilo setup
> and
> select the option 'install lilo to the MBR'.
>
> HTH
>

you got me on the right track. I put in the first cd ran setup but there
was no option to just install LILO. (not that I could find) But for the
hell of it I ran cfdisk and looked at the partitions. None were marked as
bootable! Even though I swear I did when I first partitioned it. Marked
it bootable then and away we go!

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 10:41 AM
Rich Grise
 
Posts: n/a
Default Re: Boot loader

"Liam Marshall" <lsrpm@mts.net> wrote in message
newspr6i6j1zwc44lx2@news.mts.net...
> On 16 Apr 2004 00:48:03 GMT, Joost Kremers <joostkremers@yahoo.com> wrote:
>
> snip...
>
> >
> > like i said, if you mean to say you installed lilo to a floppy disk,

then
> > yes, you cannot boot linux from the hard disk alone.
> >
> > the solution is to boot again from the install cd, rerun the lilo setup
> > and
> > select the option 'install lilo to the MBR'.
> >
> > HTH
> >

> you got me on the right track. I put in the first cd ran setup but there
> was no option to just install LILO. (not that I could find) But for the
> hell of it I ran cfdisk and looked at the partitions. None were marked as
> bootable! Even though I swear I did when I first partitioned it. Marked
> it bootable then and away we go!
>


That wouldn't have been my guess. I'd have said, if it boots off floppy,
but not off the HD, (and the partition is marked bootable in the MBR),
then all you really have to do is either run liloconfig, then run lilo
again, or edit /etc/lilo.conf, and then run lilo again. (i.e. you don't
have to install again from square zero.)

And if you didn't create a bootdisk, but want to, you can put lilo on
it with lilo -b /dev/fd0 or something like that. (pls see man lilo.)

Have Fun!
Rich


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com