FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-03-2008, 03:44 PM
ISHWAR RATTAN
 
Default Grub question..

I did Linux install on a Vista machine but wrote the grub
info to partition (and not MBR) - I want to dual boot using
grub on bootable CD.

/dev/sda1, /dev/sda2 are NTFS partitions
/dev/sd3 (Linux swap), /dev/sda4 (Linux /, all there)

I copied the grub menu.lst entry from /boot/grub/menu.lst
(on /dev/sda4) as:

title Debian GNU/Linux, kernel 2.6.24-2.6.24.4.slh.5-sidux-686
root (hd0,3)
kernel /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686
root=/dev/sda4 ro quiet vga=791
initrd /boot/initrd.img-2.6.24-2.6.24.4.slh.5-sidux-686

but grub fails to find the /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686
file. Also tried prepending (hd0,3) to file name but did not work.

Any pointers?
-ishwar


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-03-2008, 04:33 PM
Paul Csanyi
 
Default Grub question..

ISHWAR RATTAN <rattan@cps.cmich.edu> writes:

> I did Linux install on a Vista machine but wrote the grub
> info to partition (and not MBR) - I want to dual boot using
> grub on bootable CD.
>
> /dev/sda1, /dev/sda2 are NTFS partitions
> /dev/sd3 (Linux swap), /dev/sda4 (Linux /, all there)
>
> I copied the grub menu.lst entry from /boot/grub/menu.lst
> (on /dev/sda4) as:
>
> title Debian GNU/Linux, kernel 2.6.24-2.6.24.4.slh.5-sidux-686
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686
> root=/dev/sda4 ro quiet vga=791
> initrd /boot/initrd.img-2.6.24-2.6.24.4.slh.5-sidux-686
>
> but grub fails to find the /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686
> file. Also tried prepending (hd0,3) to file name but did not work.
>
> Any pointers?

Use installation CD of the Debian.

Boot with it typing at boot prompt: rescue.

Choose the .../part4 where is your
/ directory.

When came to the Rescue operations, choose to run a shell on this
partition.

Here you mount if you have to your /usr partition with: 'mount /usr'
command.

Run the command: 'grub-install /dev/sda' and 'update-grub'.

Then Ctrl + Alt + Del and remove your installation CD and reboot.

You should now to get the Grub menu.

--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org