You are not logged in.
Pages: 1
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
have you tried
pacman -S grub
command
In a world without walls,who need windows?
Offline
and grub-install /dev/XXX
I thinkt thats the command name
Offline
$ 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
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
Offline
$ 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
Does the file /boot/grub/stage1 exist?
Post your menu.lst and your fstab.
hightower
Offline
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
Hi,
try this:
$grub // starts grub
grub> root (hd0,4)
grub> setup (hd0)
grub> quit
hightower
Offline
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
Post the output of cfdisk
hightower
Offline
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 .
"...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
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 .
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
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
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
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
Does /boot/grub/device.map look right?
Offline
@HighD
Use cfdisk to change the type of the partitions to 83 (Linux) and retry installing grub.
hightower
Offline
@vacant
Looks right to me!
device.map
(fd0) /dev/fd0
(hd0) /dev/sda
@hightower
Gonna try that right now! Thanks
"...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
IT WORKED!!!! Thanks hightower !! 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
Pages: 1