You are not logged in.

#1 2007-05-10 09:12:19

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Vodoo and Grub

I installed ArchLinux via FTP install using the 0.8.0 CD, I could not install GRUB.
I needed install lilo, it works. But I prefere the good'n'old GRUB, am I the only one with this problem?

If there is no way, can I at least change the painful red yellow default lilo theme somewhat?

Offline

#2 2007-05-10 11:46:28

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: Vodoo and Grub

have you tried

pacman -S grub

command


In a world without walls,who need windows?

Offline

#3 2007-05-10 13:30:07

Bison
Member
From: Jacksonville, FL
Registered: 2006-04-12
Posts: 158
Website

Re: Vodoo and Grub

and grub-install /dev/XXX

I thinkt thats the command name

Offline

#4 2007-05-10 21:23:40

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Vodoo and Grub

$ grub-install /dev/sda
The file /boot/grub/stage1 not read correctly.

I guess it is the same problem that stopped me from installing during the arch installation... but I do now know.

Offline

#5 2007-05-12 10:58:29

RabidWolf
Member
From: WI,USA
Registered: 2007-01-20
Posts: 31
Website

Re: Vodoo and Grub

Maybe try the wiki http://wiki.archlinux.org/index.php/Cat … _(English)

There are several solutions for recovery there and your specific error is mentioned, and while most of these solutions apply to recovering your bootloader, I believe the solution is prolly still in there, or did you get grub installed afterall, I don't think there's any reason why you would not be able to use grub on your machine. I was able to fix mine with the help off the wiki(using the install cd, chrooting in via the wiki instructions, and then reinstalling grub). Hope ya get it all sorted out smile

Offline

#6 2007-05-21 07:40:22

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

ezzetabi wrote:
$ grub-install /dev/sda
The file /boot/grub/stage1 not read correctly.

I guess it is the same problem that stopped me from installing during the arch installation... but I do now know.

Same error happening here! I really don't like Lilo. Any way you fixed this issue?


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#7 2007-05-21 08:44:16

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: Vodoo and Grub

Does the file /boot/grub/stage1 exist?
Post your menu.lst and your fstab.

hightower

Offline

#8 2007-05-22 22:14:30

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

It does exist. Here are my menu.lst and fstab.

menu.lst :

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

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (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
#     +-------------------------------------------------+

# 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,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26-fallback.img

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

fstab :

# 
# /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 /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdrom1 /mnt/cdrom1   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/dvd1 /mnt/dvd1   udf   ro,user,noauto,unhide   0      0
/dev/sda5 / ext3 defaults 0 1
/dev/sda6 swap swap defaults 0 0

"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#9 2007-05-26 10:58:26

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: Vodoo and Grub

Hi,
try this:

$grub // starts grub
grub> root (hd0,4)
grub> setup (hd0)
grub> quit

hightower

Offline

#10 2007-05-27 20:28:14

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

hightower wrote:

Hi,
try this:

$grub // starts grub
grub> root (hd0,4)
grub> setup (hd0)
grub> quit

hightower

This is the output

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)
 Filesystem type unknown, partition type 0x6

grub> setup (hd0)

Error 17: Cannot mount selected partition

grub>

"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#11 2007-05-27 20:58:32

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: Vodoo and Grub

Post the output of cfdisk

hightower

Offline

#12 2007-05-27 21:27:36

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

hightower wrote:

Post the output of cfdisk

hightower

Here it is:
   

cfdisk 2.12r

                              Disk Drive: /dev/sda
                       Size: 250000000000 bytes, 250.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 30394

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1        Boot        Primary   NTFS             [^E]            47188.44 
    sda5                    Logical   FAT16                            20974.47
    sda6                    Logical   FAT16                             1044.62
    sda3                    Primary   NTFS             [               90387.61
    sda4                    Primary   W95 FAT32 (LBA)                  90395.83
                                      Unusable                             8.23

It's strange...shouldn't sda5 (/) and sda6 should be ext3 and swap? Why is there no sda2?

Thanks for helping me with this smile.


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#13 2007-05-27 22:35:07

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Vodoo and Grub

HighD wrote:
cfdisk 2.12r

                              Disk Drive: /dev/sda
                       Size: 250000000000 bytes, 250.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 30394

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1        Boot        Primary   NTFS             [^E]            47188.44 
    sda5                    Logical   FAT16                            20974.47
    sda6                    Logical   FAT16                             1044.62
    sda3                    Primary   NTFS             [               90387.61
    sda4                    Primary   W95 FAT32 (LBA)                  90395.83
                                      Unusable                             8.23

It's strange...shouldn't sda5 (/) and sda6 should be ext3 and swap? Why is there no sda2?

Thanks for helping me with this smile.

whats real strange here is sda5 & sda6 are windows partitions not linux see FS Type
is there a reason for this?
what did you use for partitioning?
you may want to redo partitions

Offline

#14 2007-05-27 23:12:25

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

rayjgu3 wrote:

whats real strange here is sda5 & sda6 are windows partitions not linux see FS Type
is there a reason for this?
what did you use for partitioning?
you may want to redo partitions

I used Windows Disk Management Tool!
Could this the reason I can't install Grub??


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#15 2007-05-27 23:18:28

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Vodoo and Grub

how far are you into your install? base or all setup?
im not sure if thats a problem for grub but before i went any furthur id try converting them so as to avoid possible problems in future
but thats me

Offline

#16 2007-05-27 23:27:17

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

rayjgu3 wrote:

how far are you into your install? base or all setup?
im not sure if thats a problem for grub but before i went any furthur id try converting them so as to avoid possible problems in future
but thats me

All setup & running. Could you post the output of your cdfisk? What did you use for partitioning??

Last edited by HighD (2007-05-27 23:28:23)


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#17 2007-05-28 08:55:32

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Vodoo and Grub

Does /boot/grub/device.map look right?

Offline

#18 2007-05-28 09:57:56

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: Vodoo and Grub

@HighD

Use cfdisk to change the type of the partitions to 83 (Linux) and retry installing grub.

hightower

Offline

#19 2007-05-28 18:02:35

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

@vacant

Looks right to me!

device.map

(fd0)   /dev/fd0
(hd0)   /dev/sda

@hightower

Gonna try that right now! Thanks smile


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

#20 2007-05-28 18:34:55

HighD
Member
From: Costa Rica
Registered: 2007-05-16
Posts: 31

Re: Vodoo and Grub

IT WORKED!!!! Thanks hightower big_smile!! I used cfdisk to change my partition types to the following

 cfdisk 2.12r

                              Disk Drive: /dev/sda
                       Size: 250000000000 bytes, 250.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 30394

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1        Boot        Primary   NTFS             [^E]            47188.44 
    sda5                    Logical   Linux ext3                       20974.47
    sda6                    Logical   Linux swap / Solaris              1044.62
    sda3                    Primary   NTFS             [               90387.61
    sda4                    Primary   W95 FAT32 (LBA)                  90395.83
                                      Unusable                             8.23

Changed sda5 to 83 (Linux) & sda6 to 82(Linux Swap/ Solaris).


"...Success means having the courage, the determination, and the will to become the person you believe you were meant to be..."
George Sheehan quotes (American physician, author and running enthusiast, 1918 - 1993)

Offline

Board footer

Powered by FluxBB