Re: how to boot a hard disk kernel from a live CD?
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Wed, 31 Jan 2007 13:10:04 -0600
On Wed, 31 Jan 2007 19:43:06 +0100, Davide Bianchi staggered into the
Black Sun and said:
On 2007-01-31, Cameron Fitzhugh <sendmespam@xxxxxxxxxxxxx> wrote:
I have a CD that I can boot from and start up the Linux kernel from
the CD. Then I can mount and access Linux partitions on the hard
disk. The computer is not set up for dual booting
If there are ext[23] partitions on a disk, and a Linux / on a disk, why
isn't the disk and system set up for dual-boot?
The kernel on the CD doesn't have the right drivers for the X system
on this computer, so I can't start up X-Windows. But there's a kernel
generated for this computer in /boot on one of the Linux partitions,
so if I could boot it, I would be able to run KDE.
The kernel and X are totally orthogonal (unless you're using evil
binary-only modules). And any LiveCD that has X should be able to use
VESA, which always works on the x86 even though it's slow. Something
doesn't seem right here. Which version of which LiveCD are you using?
Which distro did you attempt to install? What's the make+model of your
video card?
Boot from your CD, mount your root partition somewhere, chroot to that
partition and then re-install grub using the correct config file
ITYM:
0. Boot from the LiveCD
1. mount / on /mnt/somewhere , mount /boot on /mnt/somewhere/boot
2. chroot /mnt/somewhere /bin/bash
3. grub
grub> root (hd0,Y) # insert appropriate number for your /boot
grub> setup (hd0) # install GRUB to MBR of disk 0
grub> quit # done!
4. Edit /boot/grub/grub.conf so that it contains appropriate stanzas for
your Linux install and your 'DozeXP install. Like so:
default 0
timeout 30 # 30 seconds til it boots the default stanza
# modify to taste
title=Gentoo Linux 2.6.18.3 (with swsusp2)
root (hd0,2)
kernel /boot/2.6.18.3 root=/dev/hda5 acpi_sleep=s3_bios lapic vga=0x317
# (hd0,2) is /dev/hda3 , /boot here, the parameters for the kernel
# should be pretty self-explanatory, the acpi_sleep is a specific option
# I need for my laptop, YComputerMV.
# This is a standard 'DozeNN stanza
title=Windows XP (yuck)
rootnoverify (hd0,0)
chainloader +1
# end sample grub.conf , HTH.
--
"Depress the button," it said. Gloria looked at the button. "You're
a very ugly button," she began. --Phil Janes, _The Galaxy Game_
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.
- References:
- how to boot a hard disk kernel from a live CD?
- From: Cameron Fitzhugh
- how to boot a hard disk kernel from a live CD?
- Prev by Date: How to play a short movie before login?
- Next by Date: Re: How to play a short movie before login?
- Previous by thread: Re: how to boot a hard disk kernel from a live CD?
- Next by thread: Re: how to boot a hard disk kernel from a live CD?
- Index(es):