Author Topic: noob bootup question  (Read 628 times)

hnugz

  • Member
  • **
  • Posts: 101
  • Kudos: 0
noob bootup question
« on: 7 August 2003, 23:31 »
I decided to go ahead and install red hat 9 instead of gentoo which i guess is more noob friendly.  Here is my problem.  I have never setup linux on a single hdd before.  I've always had two, one with windows and one with linux.  Every time I would boot the computer it would take me to the lilo boot loader and let me select what i want.  Fantastic.  Now, I just got a laptop with one 40gig hdd which I partitioned into two 20 gig.  I have win2k installed on the first partition and red hat 9 installed on the second.  I do not have a floppy drive so I did not create a boot diskette.  The boot loader never shows up.  How can I get into red hat?

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
noob bootup question
« Reply #1 on: 8 August 2003, 00:03 »
First off, is there any swap space on that 20 gig Linux section?  Basically a minimum of two partitions is good, one for the Linux files ( root or / ) and one for swapping.  The swap partition is like a swap file in Windows, except it's usually kept on a seperate partition for effeciency reasons.  Sometimes to boot up Linux you may need a /boot as well - there are some problems with trying to boot an OS from above a certain cylinder number on a hard drive.  Back in the old days they assumed it wouldnt be a problem because no one would have a hard drive that big.  (Kinda like how everyone thought computers would never have to store years above 4 digits - hence the Y2K scare.)  I *think* this isn't a problem with Red Hats latest versions as they use grub.  I don't use Red Hat or grub so do any peeps who do wanna comment?  If you do need a /boot it will only need to be 10-15 meg.  Although with Red Hat 8+ the minimum partition size is about 80 meg.  :rolleyes:

Anyway the partitions might be laid out like this:
|----------|---------|-|
Where the first is windows, the second is Linux root and the third is the swap partition.  The swap partition will not need to be too big, 200-400 meg should be plenty enough.

If you *do* need a /boot it might be more like this:
|-|--------|---------|-|
Where the first is a tiny /boot, the second is Windows, the third is Linux root and the fourth is swap.  There are more complicated ways to do it but as your laptop probably wont be being a massive server anytime soon just smack anyone who suggests above 4 partitions.

When you install Red Hat it should give you the option of installing lilo or grub into the hard drives "boot sector" - these programs let you choose between booting Windows / Linux / Whatever other OS's you have installed.  If your computer is just booting straight into Windows you probably didnt install Lilo or Grub.  :(
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
noob bootup question
« Reply #2 on: 8 August 2003, 00:10 »
Now there are about three ways you can do this, and I'll list them in order of difficulty:

1)Reinstall Red Hat and install Grub along with it.  This will let you boot into either Red Hat or Windows.  If Windows is installed onto a partition when you are installing Red Hat, Red Hat will detect it and include it in the list of OS's you can boot from.  if you install Windows *after* not before you install Red Hat,  Windows will assume that it is the only OS on your hard drive and install it's own boot loader, which by default only loads one OS - Windows.

2)Configure the Windows boot loader to boot Linux as well.  i have no idea how to do this, as I have never had a reason to find out - probably under the control panel - system - advanced or around there.  Microsoft may have some information on how to do this on their site.

3)Boot from something like "Tom's boot Disk" (or as you dont have a floppy drive maybe Knoppix) and install Lilo / Grub from there.  This is a bit technical and so is Not Recommended.

Also just had a thought - would a Red Hat user care to comment on whether Red Hat has some "recovery console" type thing you can boot into?  i wont be able to check until tommorow when I get my Red Hat CD's back, but if you still need help by then I should remember to try it out...
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
noob bootup question
« Reply #3 on: 8 August 2003, 00:18 »
Here are a few links re:2
http://www.littlewhitedog.com/reviews_other_00011.asp
http://linuxcourse.rutgers.edu/dualboot.php

It looks kinda complex and they both talk about using a floppy so option 2 is looking  bit iffy...
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
noob bootup question
« Reply #4 on: 8 August 2003, 00:26 »
Again re:2
http://www.microsoft.com/windowsxp/expertzone/columns/russel/september10.asp
http://www.microsoft.com/WINDOWSXP/pro/using/howto/gettingstarted/multiboot.asp

Woo I'm in the expert zone I feel so special.  

Some of the info however seems extremely suss.  For example this:
 
quote:
It
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

hnugz

  • Member
  • **
  • Posts: 101
  • Kudos: 0
noob bootup question
« Reply #5 on: 8 August 2003, 00:36 »
well thanks for the good info.  it looks like i screwed up.  i know for a fact i chose lilo as the boot loader but maybe i didn't read something carefully enough so that it would install.  Here is what I did:  I have one 40 gig partitioned into 2 20 gig partitions, the first 20 with win2k already installed as ntfs, and then the second 20 I used partition magic to just delete the partition.  Then I did the whole red hat install procedure.  The reason I did it this way is because I have never really looked at how to partition a drive for linux since it seemed more complicated than windows so I let it just parition what it needs automatically.  Maybe this is my downfall.  I will try the hour and a half install again and if something else comes up ill be sure to post again.  Thanks.

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
noob bootup question
« Reply #6 on: 8 August 2003, 00:40 »
Maybe its the NTFS, and Lilo / Grub cant read NTFS?
Hmm.  If it is loading Windows, and you did install Linux second it seems that you may have just not installed Lilo / Grub.  happens to the best of us, I did that once too.  :(

The auto partition will be fine btw, it will allocate just what it needs.
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
noob bootup question
« Reply #7 on: 8 August 2003, 03:13 »
you should be able to go into rescue mode from the installation cd and:

chroot /mnt/sysimage
grub-install /dev/hda

of course you'd then have to create a /boot/grub/grub.conf file, but that's not too hard if you read some documentation.

Copperhead

  • Member
  • **
  • Posts: 39
  • Kudos: 0
noob bootup question
« Reply #8 on: 11 August 2003, 10:44 »
You can use a program called Bootpart that will load any operating system that you want right to the NT boot menu. It is very easy to use, and the documentation is written right on the page.  I believe that it is free, as well.

[ August 11, 2003: Message edited by: Copperhead ]


hm_murdock

  • VIP
  • Member
  • ***
  • Posts: 2,629
  • Kudos: 378
  • The Lord of Thyme
noob bootup question
« Reply #9 on: 11 August 2003, 15:23 »
Bootpart works well, I used it to configure XP's boot menu so that a friend could access windows me after he installed XP

why he'd wanna use windows me after installing xp (yeah, it's hella better) is beyond me. I tried to talk him into red hat 8 but he wouldn't have it
Go the fuck ~