LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2008, 11:15 PM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile system cannot direct boot from HDD, using floppy grub to boot?


Hi, my system cannot direct boot from hdd, so i have try to using super grub disk(floppy disk)to manual boot with below command:

root (hd0,0)
kernel /vmlinuz-2.5.18 ro root=LABEL=/
initrd /initrd-2.5.18.img


I success boot into linux system. But when restart the system, than need again manually issue the command to boot it, How to edit the super grub disk to automatic boot to system or other grub to automatic boot into my system.


propose: Harddisk cannot automatic boot, need floppy or cd to boot, want to automatic boot from floppy or cd than direct boot to my hdd.


Thank.
 
Old 04-07-2008, 11:31 PM   #2
digvijay.gahlot
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
After you login as linux root. Insert an empty floppy after it is mounted issue the command.

# mkbootdisk <linux-version>

It will make a boot floppy for ur linux. One thing is that it used to work for redhat 9 when the linux image was small. May not work for new versions.
 
Old 04-08-2008, 04:33 AM   #3
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Original Poster
Rep: Reputation: 15
Smile The linux version is latest, mkbootdisk cannot fit into floppy disk.

Hi, mkbootdisk to make a boot disk, but this system is latest linux system, then floppy disk cannot fit. How to use floppy grub to boot, than automatic boot into harddisk system:

This is my system linux kernel and initrd file:

root (hd0,0)
kernel /vmlinuz-2.6.10
initrd /initrd-2.6.10.img


I think sure have a way to edit the grub on floppy disk, than can direct automatic boot my hdd.

Thank.
 
Old 04-08-2008, 01:10 PM   #4
marquardl
Member
 
Registered: Apr 2008
Posts: 100

Rep: Reputation: 15
grub.conf

Change the default entry on the floppy in file grub.conf or add another entry like:

Code:
title AnyNameWillDo
        root (hd0,0)
        kernel /vmlinuz-2.6.10 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10.img
My example has an LVM setup (/dev/VolGroup00/LogVol00). Obviously you must change the path to your hard disk (maybe something like /dev/sda1).

This way booting starts from floppy, but will load the system from the hard disk.

Bye,
M

Linux Archive

Last edited by marquardl; 05-01-2008 at 01:40 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copied Debian install from dead hdd to new hdd.now system fails to boot :S deepclutch Debian 18 02-15-2008 07:17 AM
[RAID1, GRUB] Secondary HDD can't boot up when primary HDD fails Akhran Linux - Newbie 2 05-04-2006 04:17 AM
Boot with floppy support 9.1 or 10.0 two HDD brimbleshoes Mandriva 1 06-21-2004 08:41 PM
alter boot floppy to auto erase hdd then shutdown NewtonMan Linux - Software 3 11-14-2003 02:48 PM
Boot from floppy, no HDD brimbleshoes Linux - General 5 11-11-2003 10:00 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration