LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Freebsd-8.0-RELEASE-i386-memstisck: MEMSTICK install for DEBIAN TESTING please ! (https://www.linuxquestions.org/questions/debian-26/freebsd-8-0-release-i386-memstisck-memstick-install-for-debian-testing-please-812184/)

frenchn00b 06-04-2010 01:08 PM

Freebsd-8.0-RELEASE-i386-memstisck: MEMSTICK install for DEBIAN TESTING please !
 
Hello,

One cannot install Debian by using a memstick.

Whatever kind of methods Debian proposes are kind of outdated or complicated.

Bsd is better and offer this:

ftp://ftp.freebsd.org/pub/FreeBSD/re...6-memstick.img

Please could some work on that to propose same quality things as BSD.

thanks a lot for the community. Pendrive are today used by many. It is true that Debian is always out-dated but maybe with lot of help of the community, we can make Debian better, even.

the trooper 06-04-2010 01:44 PM

Is the Debian method that hard?:

http://wiki.debian.org/InstallToUsbMemoryStick

Quote:

There is an all-in-one file hd-media/boot.img.gz which contains all the installer files (including the kernel) as well as SYSLINUX and its configuration file. You only have to extract it directly to your USB stick:

1) Unmount the USB stick, if it is mounted.

2) Copy the boot image. Warning: Using this method will destroy anything already on the device. Make sure that you use the correct device name for your USB stick:

# zcat boot.img.gz > /dev/sda

If you get an error about 'permission denied', you can set permissions with:

# chmod 666 /dev/sda

3) Mount the USB memory stick (mount /dev/sda /mnt), which will now have a FAT filesystem on it, and copy a Debian netinst or businesscard ISO image to it (see Section “Adding an ISO image”). Unmount the stick (umount /mnt) and you are done.

craigevil 06-04-2010 03:23 PM

frenchn00b why do you even bother to run Debian? Almost every post you make about Debian is nothing but complaints about how bad it is.

Every one of your complaints could be solved with a simple Google search. And by actually reading the documentation that is available.

If you do not like it use BSD or some other Linux distro.

Debian works and it works very well. If it didn't there wouldn't be dozens and dozens of Debian based distros.

frenchn00b 06-04-2010 03:26 PM

Quote:

Originally Posted by the trooper (Post 3992659)
Is the Debian method that hard?:

http://wiki.debian.org/InstallToUsbMemoryStick

thanks, I agree with you that I bit complain... I like very much debian, actually. Actually I just tried freebsd from the usb pendrive and the installation hangs after usbus0, md0, ugen0.1 uhub0 ad0. I took a picture with my camera, I post it soon.

Debian usb install:
well It doesnt work. It says that the /cdrom is missing. Well. I try again ... ok. Let's give a try if it has been fixed since few months ago... I let you know about it very soon
It has been known as a reported bug (google search).

(maybe some happy gilmore)

frenchn00b 06-04-2010 04:40 PM

yeap ... still debian pendrive buggy.

here are teh results:
Quote:

hanging at Load insaller components from an installer ISO.
installation step failed
Read screen during install. Error due to no /cdrom seen as the ISO is not seen by debian install.

So, Debian not buggy?


I got:
ftp://ftp.debian.org/debian/dists/te...ia/boot.img.gz

and with this one:
http://cdimage.debian.org/debian-cd/...86-netinst.iso


:( :(
hence an image for pendrive for Debian would be great.

jim_p 06-05-2010 01:17 AM

Regarding the above files, you got the boot.img from testing and the netinstall from stable.
Maybe that is a reason for not working.

I know there is no netinstall for testing, but you can try the business card iso.

craigevil 06-05-2010 02:11 AM

Quote:

Originally Posted by jim_p (Post 3993062)
Regarding the above files, you got the boot.img from testing and the netinstall from stable.
Maybe that is a reason for not working.

I know there is no netinstall for testing, but you can try the business card iso.

HUh?
http://www.debian.org/devel/debian-installer/
http://cdimage.debian.org/cdimage/sq...86-netinst.iso

Install Debian Linux from USB boot memory stick - http://www.linuxconfig.org/install-d...t-memory-stick

4.3.*Preparing Files for USB Memory Stick Booting - http://www.debian.org/releases/testi...h04s03.html.en

frenchn00b 06-05-2010 04:04 AM

from

Quote:

Create FAT16 partition

Next we need to create FAT16 partition. For this we can use cfdisk with -z option. This command will completely remove all your data from your USB stick, so backup first !:

cfdisk -z /dev/sdb

and create a first primary partition with the minimal size of 260MB and leave the rest unpartitioned or create second partition with some other filesystem for normal use of your USB stick. The size of 260 MB will fit a current Debian stable boot.img.gz and and Debian netinst ISO image.





NOTE: it is fine to create a single partition with full size of your USB memory stick but you will not be able to use more than 239MB of from your actual USB disk memory size. Once done the output of fdisk -l will look similar to the one below.

Device Boot Start End Blocks Id System
/dev/sdb1 1 197 390817 6 FAT16
/dev/sdb2 198 1016 1624896 b W95 FAT32

Download Debian boot image As a nest step we need to download Debian boot image. Use wget:

wget ftp://ftp.debian.org/debian/dists/st...ia/boot.img.gz

NOTE: if you want testing or unstable version of Debian boot image just change a keyword stable in the previous URL to unstable or testing.
3. Copy boot image

Now we need to copy a Debian boot image to our first partition which in our case is /dev/sdb1:

zcat boot.img.gz > /dev/sdb1

If you will get an error "gzip: stdout: No space left on device" then just increase a size of your first partition.
4. Copy Debian netinst ISO

At this point is time to copy debian netinst image to our /dev/sdb1 partition. To do that we need to mount /dev/sdb1:

# mkdir /mnt/sdb1
# mount /dev/sdb1 /mnt/sdb1
# cp /path/to/image/debian-504-i386-netinst.iso /mnt/sdb1

If you do not have Debian netinst ISO you can download it from: http://www.debian.org/CD/netinst/

# umount /mnt/sdb1

5. Install Master Boot Record

To be able boot from our USB stick a MBR ( Master Boot Record ) needs to be installed.

# install-mbr /dev/sdb

if you do not have a install-mbr command available install mbr package:

# apt-get install mbr

I strictly followed this how to and it works fine.
I used the wget and url as indicated above

I boot the pendrive and the pc says :

MBR FA:

and hangs ...

pfff :(

frenchn00b 06-05-2010 08:32 AM

I tried now the flexible way for installing debian:

red screen and got

inconsistency detect by ld.so : rtld.c : 1192 : dl

that's not difficult to install debian, sure ??

frenchn00b 06-05-2010 08:43 AM

another technique

I took the ISO of debian-testing-i386-netinst.iso
mount as loop to /mnt/debian-testing-i386-iso and did

mkdosfs /dev/sda1
Code:

cp -a /mnt/debian-testing-i386-iso/* /media/pendrive
then and so on
put syslinux

copied the
http://ftp.nl.debian.org/debian/dist...edia/initrd.gz
and vmlinuz

and now the usb bootable starts with the question

Code:

BOOT:
what to type in?
Code:

07:/media/pendrive# ls -ltra
total 7552
drwxrwxrwx 12 root root  16384 1970-01-01 01:00 .
-rwxrwxrwx  1 root root  280420 2010-02-11 22:57 setup.exe
-rwxrwxrwx  1 root root    8192 2010-02-11 22:57 g2ldr.mbr
-rwxrwxrwx  1 root root  75863 2010-02-11 22:57 g2ldr
-rwxrwxrwx  1 root root  69760 2010-02-12 20:52 README.mirrors.txt
-rwxrwxrwx  1 root root  132350 2010-02-12 20:52 README.mirrors.html
drwxrwxrwx  2 root root    2048 2010-02-17 23:18 tools
drwxrwxrwx  2 root root    2048 2010-02-17 23:18 pics
drwxrwxrwx  2 root root    2048 2010-02-17 23:18 install.386
drwxrwxrwx  2 root root    2048 2010-02-17 23:18 install
drwxrwxrwx  4 root root    2048 2010-02-17 23:18 doc
drwxrwxrwx  3 root root    2048 2010-02-17 23:18 dists
drwxrwxrwx  2 root root    2048 2010-02-17 23:18 css
-rwxrwxrwx  1 root root    179 2010-02-17 23:18 win32-loader.ini
-rwxrwxrwx  1 root root    398 2010-02-17 23:18 README.source
drwxrwxrwx  3 root root    2048 2010-02-17 23:18 pool
drwxrwxrwx  5 root root    2048 2010-02-17 23:18 isolinux
-rwxrwxrwx  1 root root      27 2010-02-17 23:18 autorun.inf
-rwxrwxrwx  1 root root    5554 2010-02-17 23:19 README.txt
-rwxrwxrwx  1 root root    8983 2010-02-17 23:19 README.html
-rwxrwxrwx  1 root root  38341 2010-02-17 23:19 md5sum.txt
drwxrwxrwx  2 root root    2048 2010-02-17 23:19 .disk
drwxr-xr-x  4 root root    4096 2010-06-05 15:23 ..
-rwxrwxrwx  1 root root 1969168 2010-06-05 15:37 vmlinuz
-rwxrwxrwx  1 root root 5074722 2010-06-05 15:37 initrd.gz
-r-xr-xr-x  1 root root  13631 2010-06-05 15:39 ldlinux.sys


jens 06-06-2010 08:24 AM

If you prefer a Windows/Ubuntu like tool:
http://unetbootin.sourceforge.net/

I never understood its purpose before reading your post (the trooper's howto should just work and doesn't require any extra software).

linus72 06-06-2010 08:29 AM

Just install nFlux Squeeze squeeze/sid edition frenchnoob and remaster it into what you want
put it on usb if syslinux already installed or use Unetbootin
http://multidistro.com/

jens 06-06-2010 08:35 AM

Quote:

Originally Posted by linus72 (Post 3994229)
Just install nFlux Squeeze squeeze/sid edition frenchnoob and remaster it into what you want
put it on usb if syslinux already installed or use Unetbootin
http://multidistro.com/

This works with any image ;)

PS: Your image seems to have non-debian software.
How is that useful for installing debian?

frenchn00b 06-06-2010 08:35 AM

Quote:

Originally Posted by linus72 (Post 3994229)
Just install nFlux Squeeze squeeze/sid edition frenchnoob and remaster it into what you want
put it on usb if syslinux already installed or use Unetbootin
http://multidistro.com/


thanks ! ok I am donwloading the iso, would you know how I can put it on a pendrive bootable? I would put the boot.img.gz and copy this iso to the pendrive ... but well,,.. i wait now for the 700mb donwload..
http://multidistro.com/distros/tmp/5...ueeze-i686.iso

jens 06-06-2010 08:44 AM

Quote:

Originally Posted by frenchn00b (Post 3994234)
would you know how I can put it on a pendrive bootable?

Just as with any REAL debian image.
Unless linus72 has a reason for suggesting his image over the original one he's just spamming for his own benefit.


All times are GMT -5. The time now is 04:18 AM.