install with grub
i really want to test slack 10.2 but i dont want slack to install lilo...
can anyone write down the grub.conf for a slack 10.2 install? is there any special boot param or just title Slackware 10.2 root (hd0,0) kernel /vmlinuz-whatever root=/dev/sda4 ro quiet vga=0x31B initrd /initrd.img-whatever savedefault boot thx :) |
some tips
no need for boot that is for command mode only no need for savedefault unless you made a mistake on which distro/kernel to boot into delete quiet so you have verbose messages I have a slackware type in my tut but more critical is to know why you have that root command from the tut |
|
that link has a 2.4 series kernel and has a parameter of scsi emulation for your your burner....it should not be necessary anymore
|
Quote:
|
|
A good cheap roundabout way to get grub installed and working on your machine is this: finish the Slack installation with no boot loader. Get a linux live cd (Knoppix), and boot up from that. Mount your boot partition in Knoppix. Now, Knoppix has two programs. The names may vary, but there's one to install grub in a target directory, and one to generate a grub.conf file.
Run the grub install program from root in knoppix and target the proper directory in your slack boot partition (you might have to make it NOT read only first). Once that's done, copy the program that generates the grub.conf file into /usr/sbin of your boot partition (don't worry, this won't cause any problems). Not chroot into that partition and run the program. BAM! Instant grub.conf. A couple of tweaks and you're good to go! |
Curious....
Hi all,
Just noticed that this grub question might help me answer a question of my own. If I am posting this in an inappropriate place, I apologize. My grub conf looks like this (borrowing some from aslocum) root (hd0,0) kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773 initrd /initrd.img-whatever and the linux system boots just fine. However, I had thought that the root parameter has to match the root line in the kernel line... as below root (hd0,2) kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773 initrd /initrd.img-whatever Since Grub counts from 0 on up, the 3rd partition would be 2 ( 0,1,2). If I use that, however, the system hangs with an Error 15 file not found. Just hoping someone has run across this before, or that I have missed something REALLY obvious! Thanks. BobL |
A lot of people still use the 2.4 series kernel. I for one intend to continue doing so until Slackware is officially released with 2.6 support. I simply do not possess the time to tinker with the new kernel and with old boxes, the 2.4 kernel still works well.
Quote:
Migrating to GNU/Linux-Day 31 Just a thought about your menu.lst config file. I don't know your partition scheme, but GRUB and kernel images usually are installed in the /boot directory. Thus, a first guess is that your entry for: kernel /vmlinuz-whatever root=/dev/hda3 ro vga=773 possibly should read: kernel /boot/vmlinuz-whatever root=/dev/hda3 ro vga=773 If your vmlinuz image files are located in the /boot directory then that would explain your "File not found" error messages. |
the question on root (hdX,y) and the root= is covered in my ummm tutorial heh heh
the first sets the partition where the grub booting files are and the root= sets the partition that / is |
Oops,
Should have seen that. Makes sense too, as I do have a /boot partion. Oh well, it WAS something obvious. Thanks for the help! :) |
All times are GMT -5. The time now is 09:55 AM. |