Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I'm running into a pickle trying to install grub on another drive connected to the same system.
Here's what I have:
hdb - hard drive,
hdc - CompactFlask card
I want to setup a small linux system to boot from my CompactFlash, but I can't seem to passed grub-install.
Here's what I did so far,
mkfs.ext2 /dev/hdc
fdisk /dev/hdc
Create a single linux partition (w/ bootable flag on)
Now I've tried afew way to get grub to install, first one:
# grub-install hd1
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
But after I do this, my file system becomes full:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb2 18113556 9715888 7477548 57% /
/dev/hdb1 101086 11044 84823 12% /boot
none 250460 0 250460 0% /dev/shm
/dev/hdc 50506920 49713809 0 100% /mnt/hdc
I'll investigate more, but this is wher I am so far...
I don't have these playthings but well done on helping poster.
I have taken the liberty of looking at some of your other posts, to steal your ideas.....heh heh
anyhow if you care to read my tutorial you can boot from a grub cdr.
what I meant err is the liberty of saying your way to format thumb usb drives
any probs with what I have written
have I missed out some stuff......feel free to be blunt I am used to it
I'd prefer plain english, mate.
I needed some time to discover what err, probs etc. was...
Well, you can also mention that it's waste of memory space just to hold boot loader on 128 MB (or more) Flash Disk.
So Flash disk could be formated with FAT32 file system and be used for transfering files, also.
So, other way of doing the sam job would be:
Code:
mkdosfs -F 32 /dev/hdc
mount /dev/hdc /mnt/temp
cd /mnt/temp
mkdir grub
cd grub
cp /usr/share/grub/i386-pc/stage* /usr/share/grub/i386-pc/fat_stage1_5 /boot/grub/menu.lst .
cd ~
umount /mnt/temp
grub
> root (hd2)
> setup (hd2)
> quit
finally added your MS suggestion but ignoring giving our tender reader any advice.....well ok I can give them lots advice but they don't listen.......heh heh........to the howto.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.