You are not logged in.
Hello
Today I installed GRUB 2 and I configure it
But when I try to boot my system I got only Grub console , when I type manually settting form command line where kernel,initrd my systems boot to fallback and he says that he can't find '' device.
I got my system on /dev/sda1.
That's my working seetings from GRUB:
1 # Config file for GRUB - The GNU GRand Unified Bootloader
2 # /boot/grub/menu.lst
3
4 # DEVICE NAME CONVERSIONS
5 #
6 # Linux Grub
7 # -------------------------
8 # /dev/fd0 (fd0)
9 # /dev/sda (hd0)
10 # /dev/sdb2 (hd1,1)
11 # /dev/sda3 (hd0,2)
12 #
13
14 # FRAMEBUFFER RESOLUTION SETTINGS
15 # +-------------------------------------------------+
16 # | 640x480 800x600 1024x768 1280x1024
17 # ----+--------------------------------------------
18 # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
19 # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
20 # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
21 # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
22 # +-------------------------------------------------+
23 # for more details and different resolutions see
24 # http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
25
26 # general configuration:
27 timeout 0
28 default 0
29 color light-blue/black light-cyan/blue
30
31 # boot sections follow
32 # each is implicitly numbered from 0 in the order of appearance below
33 #
34 # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
35 #
36 #-*
37
38 # (0) Arch
39 title Arch
40 root (hd0,0)
41 kernel /boot/vmlinuz26 root=/dev/sda1 ro rootflags=data=writeback
42 initrd /boot/kernel26.img
And that's my setting from grub2:
1 # Config file for GRUB2 - The GNU GRand Unified Bootloader
2 # /boot/grub/grub.cfg
3
4 # DEVICE NAME CONVERSIONS
5 #
6 # Linux Grub
7 # -------------------------
8 # /dev/fd0 (fd0)
9 # /dev/sda (hd0)
10 # /dev/sdb2 (hd1,2)
11 # /dev/sda3 (hd0,3)
12 #
13
14 # Timeout for menu
15 set timeout=0
16
17 # Set default boot entry as Entry 0
18 set default=0
19
20 # (0) Archlinux
21 menuentry "Archlinux" {
22 set root=(hd0,0)
23 linux /boot/vmlinuz26 root=/dev/sda1 ro rootflags=data=writeback
24 initrd /boot/kernel26.img
25 }
I tried this config:
1 # Config file for GRUB2 - The GNU GRand Unified Bootloader
2 # /boot/grub/grub.cfg
3
4 # DEVICE NAME CONVERSIONS
5 #
6 # Linux Grub
7 # -------------------------
8 # /dev/fd0 (fd0)
9 # /dev/sda (hd0)
10 # /dev/sdb2 (hd1,2)
11 # /dev/sda3 (hd0,3)
12 #
13
14 # Timeout for menu
15 set timeout=0
16
17 # Set default boot entry as Entry 0
18 set default=0
19
20 # (0) Archlinux
21 menuentry "Archlinux" {
22 set root=(hd0,1)
23 linux /boot/vmlinuz26 root=/dev/sda1 ro rootflags=data=writeback
24 initrd /boot/kernel26.img
25 }
But it doesen't work
But the problem is here that settings from GRUB2 doesen't works
They are the same I was trying set root=(hd0,0) but this doesen't work .
Thanks for any help
Last edited by SpeedVin (2009-07-28 19:12:48)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ok problem solved I removed grub directory from and intall grub by:
grub-install
And I have GRUB2 working.
I have a question why we don't backup grub direcotry and make new?
We can do that in grub_install from tarballs of officail packages
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Hello SpeedVin!
"I have a question why we don't backup grub direcotry and make new?
We can do that in grub_install from tarballs of officail packages wink" -> What's your problem in fact ?
You did a backup, what's more ?
Offline
Hello SpeedVin!
"I have a question why we don't backup grub direcotry and make new?
We can do that in grub_install from tarballs of officail packages wink" -> What's your problem in fact ?
You did a backup, what's more ?
And after this install grub on mbr or boot partition
Command to install grub:
grub-install /device
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
And after this install grub on mbr or boot partition
Can't you only install grub2 if you have blank space at the start of the device or a partition with the bios_grub label (that can only be added from git parted)?
Offline