List Info

Thread: Boot from USB




Boot from USB
user name
2008-05-16 22:07:54
Hi Everybody,
            I quite new at this and wanted to make a USB
bootable
distro using knoppix's excellent hardware detection features
and
scripts .

I have hardcoded the USB drive which i'll be using in the
USB
pendrives MBR in this attached script S00knoppix-autoconfig
in which i
have added a mount command in line 1104 ...

Is this the proper way to go about making a USB bootable
knoppix or is
there a better way ..?

I want to make it userfriendly so that one i build the
initial system
it should not as me questions about where the config file or
swap file
is it should just boot up.... thats my aim ...

Regards
Deepak

Hack Hack Hack

  
Re: Boot from USB
country flaguser name
Germany
2008-05-16 22:24:08
On Sat, May 17, 2008 at 08:37:54AM +0530, Deepak Barua
wrote:
> Hi Everybody,
>             I quite new at this and wanted to make a
USB bootable
> distro using knoppix's excellent hardware detection
features and
> scripts .
> 
> I have hardcoded the USB drive which i'll be using in
the USB
> pendrives MBR in this attached script
S00knoppix-autoconfig in which i
> have added a mount command in line 1104 ...

This will not work, since knoppix.autoconfig is lcated
inside the
compressed filesystem, which is of course located on the
pendrive, which
must be mounted before the file can be accessed.

> Is this the proper way to go about making a USB
bootable knoppix or is
> there a better way ..?

There is a script called "mkbootdev" on Knppix
starting from 5.1.1 that
copies the CD or DVD content to a pendrive and makes it
bootable.
Everything else is already prepared, just in Knoppix 5.3,
the delay loop
for waiting for the drive to register may be too short. So,
if you get a
"knoppix filesystem not found" error, please check
linuxrc or init on
the initial ramdisk (minirt.gz).

Regards
-Klaus Knopper


-- 
To UNSUBSCRIBE, email to debian-knoppix-requestlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Boot from USB
user name
2008-05-17 04:44:35
On 5/17/08, Klaus Knopper <debian-knoppixknopper.net> wrote:
> On Sat, May 17, 2008 at 08:37:54AM +0530, Deepak Barua
wrote:
>> Hi Everybody,
>>             I quite new at this and wanted to make
a USB bootable
>> distro using knoppix's excellent hardware detection
features and
>> scripts .
>>
>> I have hardcoded the USB drive which i'll be using
in the USB
>> pendrives MBR in this attached script
S00knoppix-autoconfig in which i
>> have added a mount command in line 1104 ...
>
> This will not work, since knoppix.autoconfig is lcated
inside the
> compressed filesystem, which is of course located on
the pendrive, which
> must be mounted before the file can be accessed.
>
>> Is this the proper way to go about making a USB
bootable knoppix or is
>> there a better way ..?
>
> There is a script called "mkbootdev" on
Knppix starting from 5.1.1 that
> copies the CD or DVD content to a pendrive and makes it
bootable.
> Everything else is already prepared, just in Knoppix
5.3, the delay loop
> for waiting for the drive to register may be too short.
So, if you get a
> "knoppix filesystem not found" error, please
check linuxrc or init on
> the initial ramdisk (minirt.gz).
>
> Regards
> -Klaus Knopper
>
Hi Klaus,
        It works because i remastered the knoppix5.1.1 and i
mounted
my 2nd USB partition in a 2GB usb pendrive so i copied the
knoppix
home directory to this drive uncompressed so the compressed
knoppix
system is using a regular ext3 partiion to store  config
file , movie
files mp3..etc.... I'll try what you have specified
makebootdev ...
but this works too ...and maybe you could add as a USB
knoppix
extension feature ...?

Regards
Deepak

-- 
Hack Hack Hack


-- 
To UNSUBSCRIBE, email to debian-knoppix-requestlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Boot from USB
user name
2008-05-19 04:16:17


On Sat, May 17, 2008 at 5:44 AM, Deepak Barua < dbbaruagmail.com">dbbaruagmail.com> wrote:
On 5/17/08, Klaus Knopper < debian-knoppixknopper.net">debian-knoppixknopper.net> wrote:
&gt; On Sat, May 17, 2008 at 08:37:54AM +0530, Deepak Barua wrote:
&gt;> Hi Everybody,
>>             I quite new at this and wanted to make a USB bootable
>> distro using knoppix9;s excellent hardware detection features and
>> scripts .
>&gt;
>&gt; I have hardcoded the USB drive which i'll be using in the USB
>> pendrives MBR in this attached script S00knoppix-autoconfig in which i
>&gt; have added a mount command in line 1104 ...
>
> This will not work, since knoppix.autoconfig is lcated inside the
> compressed filesystem, which is of course located on the pendrive, which
&gt; must be mounted before the file can be accessed.
>
&gt;> Is this the proper way to go about making a USB bootable knoppix or is
>&gt; there a better way ..?
>
> There is a script called "mkbootdev" on Knppix starting from 5.1.1 that
>; copies the CD or DVD content to a pendrive and makes it bootable.
> Everything else is already prepared, just in Knoppix 5.3, the delay loop
>; for waiting for the drive to register may be too short. So, if you get a
> "knoppix filesystem not found"; error, please check linuxrc or init on
> the initial ramdisk (minirt.gz).
>
> Regards
> -Klaus Knopper
>
Hi Klaus,
       It works because i remastered the knoppix5.1.1 and i mounted
my 2nd USB partition in a 2GB usb pendrive so i copied the knoppix
home directory to this drive uncompressed so the compressed knoppix
system is using a regular ext3 partiion to store  config file , movie
files mp3..etc.... I'll try what you have specified makebootdev ...
but this works too ...and maybe you could add as a USB knoppix
extension feature ...?

Regards
Deepak

--
Hack Hack Hack
Hi Klaus,
&nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  I tried mkbootdev it detected the USB drive and asked for three options i tried the FAT32 and no partition options but i doesnt give me a writable (saveing config and other files ) home directory .... so maybe mount command can be added and mkbootdev can be used to specify the partition where the home directory can be made ...?
What do you think ...?

Regards
Deepak


--
Hack Hack Hack
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )