All of lore.kernel.org
 help / color / mirror / Atom feed
From: adrian15 <adrian15sgd@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: hd0 grub and kernel mismatches possible solution
Date: Thu, 20 Sep 2007 12:08:16 +0200	[thread overview]
Message-ID: <46F24690.5000408@gmail.com> (raw)

	You might know from using grub with the linux kernel that sometimes 
installers do not have the same idea than the bios or grub about what 
hard disk is hd0 and what hard disk is hd1.

	I think one solution for live cds or installer cds should be to pass as 
a kernel argument the following string:

	bios=345344l-34-4,564l64645,455655

Where the first number is the hd0 UUID, the second number the hd1 one 
and so on.

Thus we should have a function that prompts this information so that we 
could have something like:


	title Knoppix 7
	root (cd)
	kernel /boot/grub/vmlinuz root=/dev/ram0 bios_drives()
	initrd /boot/grub/initrd
	boot

I have used bios_drives() but I actually do not know how I am supposed 
to use a function ( I do not know its syntax yet.)

What do you think about this solution ?


adrian15



                 reply	other threads:[~2007-09-20 10:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46F24690.5000408@gmail.com \
    --to=adrian15sgd@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.