Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Installing lenny on an USB flash drive

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  Linux Kills  
Author Message
Günther

External


Since: Oct 10, 2006
Posts: 32



(Msg. 1) Posted: Tue May 26, 2009 3:20 pm
Post subject: Installing lenny on an USB flash drive
Archived from groups: alt>os>linux>debian (more info?)

For testing and also just for the fun of it I'm trying to install lenny
on an USB flashdrive. No live system, just a "normal" install. The
installation scripts are not prepared for this, so among other error
messages grub installation on the flash drive fails.
Not a big deal as one should be able to use grub as already installed on
the hard disk. Current versions (0.97) will find the flash drive as e.g.
(hd1,0). But then the initrd was not properly built and did not set up
the device node. So the next step was to put a script into
/etc/initramfs-tools/scripts/local-premount/script.sh:
#!/bin/sh
mknod /dev/sdb1 b 8 17
#
and building a new initrd. But still the systems hangs on boot because
the device is created after the attempt to mount the root file system. So
"local-premount" is executed after mounting? Should be called "local-
postmount" then.
I'm able to boot the system by mounting /dev/sbd1 into the ramfs and than
doing a chroot and calling init.
But then there might be a more elegant solution for this which will allow
for booting without manual intervention.

Günther
Back to top
Login to vote
Display posts from previous:   
Related Topics:
printer - is brother better than hp for debian? i want all in one.

printer - all in one is brother better easier than hp to run?

How to download youtube video into Adobe Premiere - How to download youtube video into Adobe Premiere I like to lounge around online and youtube is my favorite. Sometimes...

USB flash card / drive - How do I get my USB 128Mb flash drive working? As far as I can tell linux does not detect it and I don't know what I..

Get a Free Mandriva Flash Drive - http://freemandriva.blogspot.com/ - Free Linux Flash Drives

[gentoo-user] flash drive mounting - Hi guys, I'm having trouble mounting a jetflash 110 onto usb. The stick is on a usb port and my kernel supports usb..
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]