LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kanotix & GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/kanotix-and-grub-792261/)

mr sneakers 03-01-2010 12:28 AM

Kanotix & GRUB
 
~~~
I have a number of partitions on my hard drive, and I like to change my linux installs now and then. I recently put Kanotix on the first partition and it saw what was previously installed and GRUB added it to the boot list, all was fine for awhile.

Today I added a new install, and I assumed that I would just add it to the GRUB menu list so that it could be booted. I was surprised when I got to the /boot/grub folder on Kanotix and there was no menu list.

So my question is how do I adjust GRUB in this situation? I have no doubt missed something and I am at a loss. I have looked at a lot of install notes on line with no success. I could use some help.....

mr sneakers
Anyone who has never made a mistake has never tried anything new -
Albert Einstein

bigrigdriver 03-01-2010 08:18 AM

To find where Kanotix is parking it's grub menu.lst (or equivalent grub.conf), use the find command (as root to be able to read the grub config file) to search for some keyword from the menu.lst.
Example:
find /boot -type f | xargs grep vmlinuz

That should turn up all the menu entries in your grub conf, and give you the path and filename in which they are found If you don't find it in /boot that way, try looking at /etc/grub/conf to see if that is where Kanotix put the grub config with menu entries.

mr sneakers 03-01-2010 02:29 PM

2 Attachment(s)
Thanks bigrigdriver, I found the grub.cfg and added this...
Attachment 2865

and I got an error message: "no argument specified", so I went back to the partition in question to look at the boot folder and this was what I saw...
Attachment 2866

so what "argument" is GRUB looking for?

again, thanks for any and all help...

mr sneakers

bigrigdriver 03-01-2010 05:30 PM

That doesn't look like anything I'm familiar with. Is that the new version of grub and it's menu format?

Looking at the Fedora entry:
on đdev/sda2 and
set root=(hd0,2)

Looking at the Mandriva entry:
on /dev/sda11
set root=(hd0,10)

It seems that grub has changed it's numbering scheme so that the grub partition number matches the Linux partition number. Try changing set root=(hd0,10) to set root=(hd0,11).

mr sneakers 03-01-2010 08:43 PM

that didn't work...
 
1 Attachment(s)
Thanks for noticing that, I missed that...

So I made the change (hd0,11) and that didn't work.

Yes I think this is the new look of GRUB

Attachment 2869

looks a lot more complex that the old GRUB...

and I still have no idea what augments it wants?

mr sneakers

mr sneakers 03-03-2010 03:39 PM

Success!
 
~ ~
Did the reanalysis and discovered that I was working with an older CD of Super Grub Disk (0.9689) and thought that by now there is a newer version.

Got Super Grub Disk 0.9799 and POW! everything works, off and running.

Thanks mr sneakers


All times are GMT -5. The time now is 09:18 AM.