LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-04-2010, 01:08 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
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.
 
Old 06-04-2010, 01:44 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
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.
 
Old 06-04-2010, 03:23 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
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.
 
1 members found this post helpful.
Old 06-04-2010, 03:26 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by the trooper View Post
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)

Last edited by frenchn00b; 06-04-2010 at 04:21 PM.
 
Old 06-04-2010, 04:40 PM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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.

Last edited by frenchn00b; 06-04-2010 at 04:41 PM.
 
Old 06-05-2010, 01:17 AM   #6
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
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.
 
Old 06-05-2010, 02:11 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by jim_p View Post
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
 
Old 06-05-2010, 04:04 AM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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
 
Old 06-05-2010, 08:32 AM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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 ??
 
Old 06-05-2010, 08:43 AM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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
 
Old 06-06-2010, 08:24 AM   #11
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
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).

Last edited by jens; 06-06-2010 at 08:36 AM.
 
Old 06-06-2010, 08:29 AM   #12
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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/
 
0 members found this post helpful.
Old 06-06-2010, 08:35 AM   #13
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by linus72 View Post
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?
 
Old 06-06-2010, 08:35 AM   #14
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by linus72 View Post
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
 
Old 06-06-2010, 08:44 AM   #15
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by frenchn00b View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnash on Debian testing (i386) j.todd LinuxAnswers Discussion 0 11-24-2008 05:50 PM
I can't decide which Freebsd release to install alkad_mzu *BSD 5 08-30-2007 05:03 PM
LXer: DistroWatch Weekly: DistroWatch in 2006, MEPIS, Fedora, Debian, FreeBSD and RHEL release updates LXer Syndicated Linux News 0 01-01-2007 03:54 AM
lg3d install on debian testing zakkeyboorock Debian 2 12-03-2006 06:17 PM
install debian testing rahimi992 Debian 4 01-19-2006 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration