You are not logged in.

#1 2010-02-27 06:18:15

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

[SOLVED] Can't boot!

I just messed around with some partitions trying to merge them, but when I rebooted and saw only the text "GRUB: " on the screen, I quickly tried to change it back. So now that the partitions are back to sort of like before (they may have different names, like for example sda4 could be sda1 now). I don't know what I should now, because I am still getting the same screen, I can't even get to the grub prompt on boot, I'm chrooting as of now to do that stuff, and I really suck with grub. My guess is that it is not installed to the MBR. Here are some files:

/etc/fstab (the info is correct)

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda4 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 0 1
/dev/sda1 /home ext4 defaults 0 1

/boot/grub/menu.lst:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution 

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/8b0bbffd-741d-4be9-860e-ef384edc9909 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/8b0bbffd-741d-4be9-860e-ef384edc9909 ro
initrd /kernel26-fallback.img

# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1

Please help! I am considering going to FreeBSD if I can't fix this yikes

Last edited by cesura (2010-02-27 20:51:29)

Offline

#2 2010-02-27 06:27:52

InsaneDevice
Member
From: Saint-Petersburg [RF]
Registered: 2010-02-27
Posts: 10

Re: [SOLVED] Can't boot!

Well FreeBSD doesnt the easy way smile

As i see

/dev/sda4 /boot ext2

u r loading from 4th partition  on disk 1, so in GRUB it will be

# (0) Arch Linux
title  Arch Linux
root   (hd0,3)
kernel /vmlinuz26 root=/dev/disk/by-uuid/8b0bbffd-741d-4be9-860e-ef384edc9909 ro
initrd /kernel26.img

If the problem persists (if my variant is wrong) use keys "e" to edit string & "b" to boot from edited variant in GRUB menu --->try other variants.
If u have only 1 physical drive the variants are: (hd0,0) (hd0,1) ... etc
If u have more physical drives it can be also (hd1,0) (hd1,1) etc.

[wiki]http://wiki.archlinux.org/index.php/Grub#GRUB_Error_17[/wiki]

Last edited by InsaneDevice (2010-02-27 06:29:53)

Offline

#3 2010-02-27 07:00:34

neofish
Member
Registered: 2010-02-13
Posts: 25

Re: [SOLVED] Can't boot!

I have a hunch that you have messed up your mbr.  you'll need to run 'grub-install --no-floppy /dev/sda' to fix it

Offline

#4 2010-02-27 19:26:21

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] Can't boot!

I have been able to get to the grub screen and start the boot, but halfway through, I get:

kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!

Offline

#5 2010-02-27 20:50:58

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] Can't boot!

Solved. Sort of. If anyone reading this had the problem above this post, adding:

init=3

to the end of the listing in /boot/grub/menu.lst

I decided to do an arch reinstall with only using one partition, so I can leave room for FreeBSD

Offline

Board footer

Powered by FluxBB