K
K
krotish2010-11-26 20:44:07
linux
krotish, 2010-11-26 20:44:07

Installing Debian on a USB flash drive

In general, I was impatient to put debian on a USB flash drive.
I installed it from a netinstall image, also from a flash drive (unetbootin).

The installation was successful, at the end I agreed with the grub installation.

I pull out the installation flash drive, reboot, I see the invitation is rude.
grub>
all. does not respond to download commands. 21st error - no disk.

well, booted from the liv-sit. set rough manually. sdb1 is the same section of the flash drive where debian was installed. zero result. still not loading debian. Perhaps someone has come across something similar?
$sudo mount /dev/sdb1 /mnt
$sudo mount --bind /dev /mnt/dev
$sudo mount --bind /proc /mnt/proc
$sudo chroot /mnt
#grub-install /dev/sdb


Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kekekeks, 2010-11-26
@krotish

Try sticking a second grub there. If in his console on help he throws out a bunch of commands, then it will be possible to boot.
We write ls, we receive the list of sections. Then root (hd[disk_number],[partition_number]) sequentially. Should report the type of file. If the file is needed, then we write linux / and press tab, it will throw out the contents of the root. If not that file, then Ctrl + C, look further. If that, then we add the path to the kernel further. Then we write the initrd and similarly the path to it. We write boot. Should load.

K
kekekeks, 2010-11-26
@kekekeks

Try to roll the LiveCD onto a USB flash drive with this utility . It is for ubuntu, but ubunta has a reworked debian, so it will most likely digest it.

P
peter23, 2010-11-26
@peter23

Did the team #grub-install /dev/sdbcomplain about anything?
What's in /boot/grub/menu.lst?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question