diff mbox

[06/15] grub: sample menu.lst file improvements

Message ID 1384188459-1332-7-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 97362f571cd877274cfd9bef30c6a4b99723135c
Headers show

Commit Message

Thomas Petazzoni Nov. 11, 2013, 4:47 p.m. UTC
Two improvements to the menu.lst file:

 * Do not enforce any video mode, let the kernel use whatever it wants
   as the default, or let the user customize it when needed.

 * Use /dev/sda1 instead of /dev/hda1. Nowadays, most hard disk
   controllers are handled using libata, and therefore the disks are
   visible as /dev/sd<X>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 boot/grub/menu.lst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/boot/grub/menu.lst b/boot/grub/menu.lst
index d76bf63..41e9b62 100644
--- a/boot/grub/menu.lst
+++ b/boot/grub/menu.lst
@@ -4,4 +4,4 @@  splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title Buildroot
 	root (hd0,0)
-	kernel /boot/bzImage rw root=/dev/hda1 vga=791 
+	kernel /boot/bzImage rw root=/dev/sda1