Hello all, that's my first post here
I've got Vista installed on my notebook and I've bought an external drive (1,5 TB, but its size shouldn't matter in this case) and after formatting it I left 10 gigs for future purpose. Now, I decided to install 64bit debian on the unallocated 10 gigs. And so I did.
To be precise: I have SATA drive inside my lap and hard drive (it's also SATA inside the cover) connected to my lap through USB. Boot sequence was 1)CD/DVD 2)hard drive 3)removable drive. During the installation the installer detected my internal drive as /dev/sda and my external drive as /dev/sdb. I decided to install grub on /dev/sdb (it was logical to me, since I didn't want to mess up my regular drive's MBR). Installer created 5 partitions on my USB drive.
After booting from my external drive (look below*) I've got a message saying
error: no such partition
Entering rescue mode...
and after that I was in grub rescue console. When I typed ls I've got an output
(hd0) (hd0,msdos1) (hd1) (hd1,msdos5) (hd1,msdos2) (hd1,msdos1)
When I tried to type
I only got a message
error: unknown filesystem
This occured for all the listed devices...
On my internal drive there were (during the installation and running the live cd) 3 partitions detected (vista os, data, rescue disk) so I don't understand the output that ls in rescue console gave me. What I did wrong?
* about booting from external drive: I did that after pressing ESC - I've got a prompt to choose which device I want to boot from - this wasn't working properly; after changing the boot sequence the grub started but with the abovementioned error message...
If there's any info about exact names/types/devices of my installed partitions needed I will run live CD and check it. If any other info is required I will provide it (I tried to describe the problem in the most precise way
What I was thinking about
: maybe there is a problem with ordering of the devices - when I boot from DVD my removable disk is treated as the "second one" and after booting from the removable disk it becames the "first one" or something like that? If any of you have any good
info on how mapping of the device names works it would be appreciated, since I couldn't find anything useful or I just don't know what to ask google about.
To sum up:
1) How to install Debian on a removable disk
(I had no problems with installing Linux on pendrive but I did that from VirtualBox and it was some time ago) OR how to install GRUB on a removable disk?
(unfortunately, I cannot install 64bit system through VirtualBox)
2) What's the logic behind naming devices under /dev?
How come the devices in grub have their names mapped as hdx
etc and I've read that hdx
are the names for IDE/ATA drives and sdx
is the proper name for a SATA or USB device
Many things here are not well understood by me, so I could write something stupid or inconsistent, but I hope you will understand me.
Thanks in advance and regards!