Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Frugal USB boot fails: 'Missing Operating System', How to configure grub for USB boot?< Next Oldest | Next Newest >
vodsonic Offline





Group: Members
Posts: 6
Joined: Jan. 2006
Posted: Jan. 22 2006,20:07 QUOTE

I'm trying to install DSL frugal to a 512mb Sandisk Cruzer Micro thumbdrive, in order to run DSL on a small barebones machine that has no IDE drives - not even a CDROM.

I booted DSL 2.1 from the CD on my laptop, changed the flash drive's geometry with sfdisk, and manually paritioned with cfdisk, making a bootable 64mb linux partition at the beginning of the volume. Used the frugal-usb install option in 'Tools'. Installed to sda1.

The install went fine except that near the end, during the grub install, it told me, '/dev/sda does not have any corresponding BIOS drive.' The installer then said that the installation was complete.

When I try to boot to this thumbdrive, I see the BIOS splash screen, followed immediately by a screen blank but for the words 'Missing Operating System.'

(The same machine boots DSL just fine from a different thumbdrive on which I did the regular USB-HDD install just for kicks.)

I am fairly sure this problem is caused by a problem with my grub configuration files, namely device.map and menu.lst

The pertinent entry in menu.lst reads as follows:

Code Sample

title DSL
kernel /boot/linux24 root=/dev/sda1 quiet vga=normal noacpi noapm nodma noscsi frugal
initrd /boot/minirt24.gz


the device.map, as generated during the frugal-grub install, looks like this:

Code Sample

(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/hdc
(hd3) /dev/hdd
(hd4) /dev/hde
(hd5) /dev/hdf


I have tried various modifications to these two files, but the result when I try to boot with them is always the same, 'Missing Operating System'. I've tried inserting

root (hd0,0)

after the title line in menu.lst, and I've tried modifying device.map in various different ways, with the idea that perhaps, since I'm trying to boot from a USB drive, device.map should really refer to /dev/sda and/or (sd0). No luck so far.

At this point, I still believe that the problem lies somewhere in my grub configuration files. Can anybody offer any suggestions?
Back to top
Profile PM 
~thc Offline





Group: Members
Posts: 42
Joined: Dec. 2005
Posted: Jan. 24 2006,09:22 QUOTE

have you tried

(hd0) /dev/sda

in device.map while installing the grub bootloader?
Back to top
Profile PM 
vodsonic Offline





Group: Members
Posts: 6
Joined: Jan. 2006
Posted: Jan. 25 2006,13:14 QUOTE

Thanks for the suggestion. I've been tied up making license plates & killing rats, but hope to try what you suggest later on today or tomorrow.

To do this, I would need to modify the device.map that is in the boot directory of the USB thumbdrive that has the frugal install on it, correct? (the one I can't boot from because both my laptop & my barebones machine say "Missing OS") Then I boot DSL from the CD, open a terminal window, and install grub to /dev/sda1... correct?
Back to top
Profile PM 
antispin
Unregistered






Posted: Jan. 26 2006,13:41 QUOTE

I am having a similar issue. I want to install DSL to a 128MB CF disk, but also receive the error when I run "grub-install /dev/sda":

  "/dev/sda does not have any corresponding BIOS drive."

I am trying to install DSL using my laptop. The CF card is attached via a USB card reader. The barebones machine I eventually want to run DSL on has no floppy, CD-ROM, or hard drive, just a CF->IDE adapter.

Can anyone suggest how I might be able to get this to work?

Thanks!
Back to top
~thc Offline





Group: Members
Posts: 42
Joined: Dec. 2005
Posted: Jan. 26 2006,19:08 QUOTE

Quote
"/dev/sda does not have any corresponding BIOS drive."


that means, 'grub-install' is unable to determine the grub disc number (hdX) from the bios tables of your pc - which is quite normal. you have to manually edit the device.map file in the pendrive 'boot' directory prior to 'grub-install'.

@vodsonic: sounds good.
Back to top
Profile PM 
12 replies since Jan. 22 2006,20:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Frugal USB boot fails: 'Missing Operating System'

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code