Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page Fail to boot after installation
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-07-2008   #1 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,095
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
Code:
/dev/sda1  *  Linux   (/boot)
/dev/sda2      Linux   ( / )
/dev/sda3      Linux   (/var)
/dev/sda4      Extended
/dev/sda5      Linux swap / Solaris
/dev/sda6      Linux  (/home)
# mount /dev/sda1 /mnt
# ls /mnt
Code:
Systam.map26   grub         kernel26-fallback.img    lost+found
diag1.img          kconfig26  kernel26.img                vmlinuxz26
# cat /mnt/grub/menu.lst
Code:
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
Please advise where shall I check and how to fix the problem. TIA


B.R.
satimis
satimis is offline   Reply With Quote
Old 02-07-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,520
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
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 02-07-2008   #3 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,095
Quote:
Originally Posted by devils_casper View Post
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
Thanks for your advice.


Tried your suggestion but still failed, hanging on GRUB

I'm prepared to re-run grub but forget how to "chroot" /dev/sda1, the boot partition. Can you shed me some light? TIA


B.R.
satimis
satimis is offline   Reply With Quote
Old 02-07-2008   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,520
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
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 02-07-2008   #5 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,095
Quote:
Originally Posted by devils_casper View Post
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
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/sda2
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)
Would it be something else?


satimis
satimis is offline   Reply With Quote
Old 02-07-2008   #6 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,095
(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)
Code:
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> kernel /vmlinuz26 root=/dev/sda2
Code:
[Linux-bzImage, setup=0x1c00, size=0x1ca588]
grub> boot
[Arch Linux: /]# reboot


It boots to;
moyhost login: root
[root@myhost ~]#

It is OK now.


B.R.
satimis
satimis is offline   Reply With Quote
Old 02-07-2008   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,520
Well Done !
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Won't Boot Van Halen Man Ubuntu Help 8 05-01-2007 04:49 AM
OSCAR Installation and Network boot ashkot Redhat / Fedora Linux Help 0 06-28-2006 02:57 AM
Problems with Linux Installation - dual boot but never boots up Linux chetty Redhat / Fedora Linux Help 2 12-06-2005 04:30 AM
XP boot problem after RedHat installation bharris Installation 3 06-30-2004 03:58 AM
Boot Problems With Loadlin robnelli Installation 2 11-20-2002 12:28 AM

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 08:17 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0