Re: [orca-list] OT: grub2 and Archlinux
- From: Michael Whapples <mwhapples aim com>
- To: Peter Tesar <ptesar ca inter net>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] OT: grub2 and Archlinux
- Date: Fri, 23 Apr 2010 18:43:45 +0100
I spot an error in what you write, however I would have thought your
windows entry may work.
The error is that you set the root to hard disk 1 partition one and then
refer to the linux kernel being in / passing it the argument
root=/dev/sda1 (in fact you had miss typed /dev/sda1 but I knew what you
meant). This seems to imply you don't have a separate boot partition,
but in that case the path for the kernel and initrd is /boot/. If you
only have one partition (IE. no separate boot partition) then here is
what your configuration file should read.
# Config file for GRUB2 - The GNU GRand Unified Bootloader
# /boot/grub/grub.cfg
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,2)
# /dev/sda3 (hd0,3)
#
# Timeout for menu
set timeout=>
# Set default boot entry as Entry 0
set default=>
# (0) Arch Linux
menuentry "Arch Linux" {
set root=d0,1)
linux /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26.img
}
## (1) Windows
menuentry "Windows" {
set root=d1,1)
chainloader +1
}
Does this help?
Michael Whapples
On 01/-10/-28163 08:59 PM, Peter Tesar wrote:
Hello,
I can't verify the accuracy of the coding used. If you boot and get
nothing (no speach) you might have the Grub command line.
Grub followed by a flashing Underscore.
I haven't found the time to explore this. Perhaps it is as
simple as typing a configuration file in order to bring up a menu.
If you are not on the Vinux list here are the notes I just posted.
Hello List, Notes on duel boot: Windows&Vinux, boot.ini&Grub, 2 drives
(ATA&SATA)
Some of you have asked about duel boot and my system setup is
different. Here is what I have learned during my first six months
trying to learn Linux & Vinux.
My desktop system had Windows XP and one drive on an IDE (ATA)
cable/connector.
To install Linux and keep Windows, it was recommended that a second
drive (dedicated for Linux) would be safer. I got the second drive
which turned out to have a SATA cable/connector.
I believe that the SATA is the newer technology and that would explain
why my BIOS looked first to a SATA before ATA for the operating system.
First I installed Vinux 2.1 CLI (Debian) to partition 1 and the Grub 1
gave me access to it and Windows.
Then Vinux 1.5 (Ubuntu) was installed to partition 2 and the Grub menu
listed all three Operating systems but gave access only to the Vinux 1.5.
My Windows MBR was destroyed and it had to be restored.
Now, whenever installing another version of Vinux, I disconnect the
Windows drive.
The newer versions of Vinux 3.0 are being installed into partition 2
and the Grub 2 menu does not show Windows because that drive is
disconnected.
Since Windows is my workhorse, I had the BIOS changed to look first to
the ATA (Windows) drive.
I added the entry to the Windows “boot.ini” file to point to the Vinux
2.1 CLI.
Currently my only way to access Vinux 3 is through the boot device
list. On my system the F8 is held down for about 15 seconds. Then
arrow down to highlight the Vinux drive and press ENTER. Grub 2 comes
up with Vinux 3 as the default.
Many of you have only one hard drive. This makes it important to learn
how to backup the MBR of your Windows system. Learn to use the Linux
“dd” command. Learn to copy the first 446 bytes of the drive as a
backup to restore if necessary.
I hope some of this will help some of you.
Peter
----- Original Message ----- From: "Christian" <christian08 runbox com>
To: <orca-list gnome org>
Sent: Thursday, April 22, 2010 9:46 PM
Subject: [orca-list] OT: grub2 and Archlinux
Hi all,
Sorry for being off topic.
I am searching for a solution but I haven't found any as of yet.
But maybe any of you have an idea.
I am having issues with the old Grub as some of you already know so I
did a clean installation of Arch.
My harddrives are one SATA drive, which shows up as /dev/sdb and the
other which is an IDE drive shows up as /dev/sda and in the bios it
is the SATA drive that is set to boot first and I cannot change that
right now. And I want to install Arch onto /dev/sda
OK, here is what I did:
On the Arch linux wiki it was recommended to skip the install boot
loader after the installation was complete, so I did that.
Then, I installed grub2 and removed the old boot loader as it
prompted for that.
Then I chrooted into the newly installed system wiht the following
command, also taken form the Arch Grub2 wiki:
mount -o bind /dev /mnt/dev
chroot /mnt bash
I reviewed the content of the file that was created in
/boot/grub/grub.cfg
Here is what the file looks like:
# Config file for GRUB2 - The GNU GRand Unified Bootloader
# /boot/grub/grub.cfg
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,2)
# /dev/sda3 (hd0,3)
#
# Timeout for menu
set timeout=>
# Set default boot entry as Entry 0
set default=>
# (0) Arch Linux
menuentry "Arch Linux" {
set root=d0,1)
linux /vmlinuz26 root=ev/sda1 ro
initrd /kernel26.img
}
## (1) Windows
menuentry "Windows" {
set root=d1,1)
chainloader +1
}
Then I issued:
grub-install /dev/sdb --no-floppy
And I got no errors.
After rebooting the machine nothing happens.
So please, if you have any ideas please let me know.
Many thanks,
Christian
_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at
http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]