Help on GRUB for linux based project
Hi I was working on a project that would be something like a rescue disk, so you can fix GRUB, partitions, create partitions and things like that, one of the options that i cannot miss is to fix grub-itself i mean install it and update the menu.lst by scanning through the system for microsoft windows OS's (which is pretty simple by just having to look for ntldr and making an entry that would chainload ntldr) But looking for a linux partition is a bit complicated.
1) The kernel name can be anything(its generally going to start with vmlinu),
which is an issue but i'll say that i can search for files beginning with vmlinu and make the entry if no such
file is found in /boot/ then we can display the directory contents and have the user enter the name of the
Kernel himself.
2) I have no idea what
kernel /boot/vmlinuz-
entry means AFTER root i dont know what UUID does and if it is necessary.
3)I would atleast like to have support for Ubuntu, Fedora& Suse which are the three major ones around.. Is
there a way to recognise which kernel is installed on a particular partition?
I'd greatly appreciate the solution directly but
Anything that you thong can be useful to me in solving the problem is welcome
Thank you
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Danish for more information if necessary.