LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2003, 03:56 PM   #1
bigge
LQ Newbie
 
Registered: Apr 2003
Location: Milan
Posts: 8

Rep: Reputation: 0
grub boot from a IDE flash card


I'm trying to make a standard ide ata flash (32/64 MB) bootable directly in linux, but I always have the same error messages 'GRUB - Hard disk error'.

The bad new is that the same procedure I use works perfectly if using a 'normal' IDE hard disk...

I already try to use the grub-install command, and the command interface (root (hd1,0) + setup(hd1,0)), but with the same results. I also try to force the LBA flag, but nothing happens.


I have no more ideas.

Thanks in advance

Enrico
 
Old 04-22-2003, 04:02 PM   #2
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
It has to do with how the BIOS "sees" your flash card. Each device has a hexadecimal code (i.e., first primary hard drive = 0x080, IIRC) and the BIOS may not be conveying a code that Grub recognizes, or perhaps the mapping file doesn't have it listed. You may be able to do some map commands in your /boot/grub/menu.lst file so that your flash card is mapped to something that Grub will boot.

But that's really just a guess.
 
Old 04-23-2003, 03:34 AM   #3
bigge
LQ Newbie
 
Registered: Apr 2003
Location: Milan
Posts: 8

Original Poster
Rep: Reputation: 0
The Bios sees the flash card as the primary IDE MASTER hard disk on the target system, but I preare the flash card on the another system where I have a normal IDE hd running a suse distro(/dev/hda) and flash card as /dev/hdc.
On this system I send the grub command to my flash card /dev/hdc1...

In the mapping file I found the /dev/hda and the /dev/hdc

Shoult it be the problem ?

Thanks.

Enrico
 
Old 04-23-2003, 04:31 AM   #4
bigge
LQ Newbie
 
Registered: Apr 2003
Location: Milan
Posts: 8

Original Poster
Rep: Reputation: 0
This is the output of the development machine running Suse distro on /hda and the flash card on the /hdc
Thanks again.
Enrico

grub> root (hd1,0)
root (hd1,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd1,0)
setup (hd1,0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1,0)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,0)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd1,0) /boot/grub/stage2 p /boot/grub/menu
.lst "... succeeded
Done.
 
Old 04-25-2003, 12:46 PM   #5
bigge
LQ Newbie
 
Registered: Apr 2003
Location: Milan
Posts: 8

Original Poster
Rep: Reputation: 0
nobody has some idea ?

Nobody knows more than me about this kinf of boot using grub ?

Thanks !

Enrico
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot XP w/ Grub (IDE + SATA) TruckStuff Linux - General 3 09-25-2006 09:01 PM
grub dual boot between scsi and ide peter72 Linux - Software 0 06-29-2005 02:39 PM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
128 meg flash card, ide-cs.o not found? SappySE107 Linux - Hardware 0 11-20-2003 08:54 PM
Boot Linux from Compact Flash IDE ludwig Linux - Hardware 2 08-18-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 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
Open Source Consulting | Domain Registration