Results 1 to 7 of 7
Hi folks,
86-64 2007-08-02 core ISO
Installation went through w/o problem. After finish on reboot it hangs on "GRUB". The bootloader seems missing.
# fdisk -l
Code:
/dev/sda1 * Linux ...
- 02-07-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Fail to boot after installation
Hi folks,
86-64 2007-08-02 core ISO
Installation went through w/o problem. After finish on reboot it hangs on "GRUB". The bootloader seems missing.
# fdisk -l# mount /dev/sda1 /mntCode:/dev/sda1 * Linux (/boot) /dev/sda2 Linux ( / ) /dev/sda3 Linux (/var) /dev/sda4 Extended /dev/sda5 Linux swap / Solaris /dev/sda6 Linux (/home)
# ls /mnt# cat /mnt/grub/menu.lstCode:Systam.map26 grub kernel26-fallback.img lost+found diag1.img kconfig26 kernel26.img vmlinuxz26
Please advise where shall I check and how to fix the problem. TIACode:timeout 5 default 0 color light-blue/black light-cyan/blue # (0) Arch Linux title Arch Linux root (hd0,0) kernel /vmlinuz26 root=/dev/sda2 ro initrd /kernel26.img # (1) Arch Linux title Arch Linux Fallback root (hd0,0) kernel /vmlinuz26 root=/dev/sda2 ro initrd /kernel26-fallback.img
B.R.
satimis
- 02-07-2008 #2
Type full path of /boot in grub.conf file.
Code:title Arch Linux root (hd0,0) kernel (hd0,0)/vmlinuz26 root=/dev/sda2 ro initrd (hd0,0)/kernel26.img
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-07-2008 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
- 02-07-2008 #4
I think I am forgetting something. Have you tried /boot along with (hd0,0) in kernel and initrd lines.?
Code:kernel (hd0,0)/boot/vmlinuz26 root=/dev/sda2 ro initrd (hd0,0)/boot/kernel26.img
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-07-2008 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Just tried your suggestion. But still failed.
Tried follows after booting up the pc with the installer CD
# grub-install --recheck /dev/sda1
Could not find kernel image
# vmlinuz root=/dev/sda2Would it be something else?Code:..... ..... List of all partitions: No filesystem could mount root, tried: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
satimis
- 02-07-2008 #6Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
(solved)
Hi devils_casper,
Problem solved as follows;
Booting up the PC with the installer CD by pressing [Enter]
# fcsk /dev/sda2
# grub
grub> root (hd0,0)grub> kernel /vmlinuz26 root=/dev/sda2Code:Filesystem type is ext2fs, partition type 0x83 Checking if "/boot/grub/stage1" exists ..... no Checking if "/grub/stage1" exists ... yes Checking if "/grub/stage2" exists ... yes Checking if "/grub/e2fs_stage1_5" exists ... yes Running "embed /grub/e2fs_stage1_5 (hd0)" ... 23 sectors are embedded. Succeeded Running "install /grub/stage1 (hd0) (hd0)1+23 p (hd0,0)/grub/stage2 /grub/menu.lst" ... succeeded Done
grub> bootCode:[Linux-bzImage, setup=0x1c00, size=0x1ca588]
[Arch Linux: /]# reboot
It boots to;
moyhost login: root
[root@myhost ~]#
It is OK now.
B.R.
satimis
- 02-07-2008 #7
Well Done !
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

