You are not logged in.
hi all,
i would like to run #! from SD card for a couple of reasons. The most important one is that i would like to run linux while the complete HD of my (company) laptop is encrypted and i can't make new partitions on it nor install #! to one of the partitions. In addition i expect the laptop to run longer as it doesn't need to keep the HD spinning.
i have manged to:
get GRUB (legacy) running and provide me with a list of options after starting the laptop. Windows can be started from the Grub menu.
have #! installed on a SD card (compleet with /boot-directory) as if it was installed directly onto the HD.
my problem:
how to configure the menu.lst such that grub finds #! on the SD card.
When i open the Grub prompt, i can only see the HD (i am not sure, but i think i used UUID which provides a list of devices and partitions with their UUID. Result: (hd0,0), (hd0,1), (hd0,2) and the last partition (hd0,3) does not show).
So the SD card is missing.
is there a possibility to mount the SD card in Grub?
Offline
Use the UUID of the SD card as the disk, but use /dev in the kernel root= line; I think that should work.
(It will most likely be (hd1,0).)
Linux since 1999
Currently: AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/
Offline
Current problem is that i don't know the UUID of the SD card. It doesn't seem to be mounted.
is there a possibility to mount the SD card in Grub?
Offline
You need to make an entry in your menu.lst for the SD card. Something on the lines of :-
title Linux
root (hd1,0)
kernel /boot/vmlinuz-3.2.0-4-amd64 ro root=/dev/sdb1
initrd /boot/initrd.img-3.2.0-4-amd64
Edit: If you want to find the UUID, run blkid as root.
Last edited by fatmac (2012-12-08 10:10:32)
Linux since 1999
Currently: AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.