Re: Installing Debian using USB Key

2009-11-27 Thread Mathieu Malaterre
On Fri, Nov 27, 2009 at 7:11 PM, Mathieu Malaterre
 wrote:
>> Installing a new mbr should not be necessary, but if you do unmout your
>> stick before doing it.
>>
>>> sudo install-mbr /dev/sdX
>
> Ok let me try again without this.

That's even worse. When I reboost. Hit F12, select USB devices
(instead the hard drive number), then nothing is happening...

I'll give testing a try...

-- 
Mathieu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Installing Debian using USB Key

2009-11-27 Thread Mathieu Malaterre
On Fri, Nov 27, 2009 at 7:00 PM, Florian Kriener  wrote:
> On Friday 27 November 2009 18:31:18 Mathieu Malaterre wrote:
>> wget
>> http://d-i.debian.org/daily-images/amd64/daily/hd-media/boot.img.gz
>>  zcat boot.img.gz > /dev/sdX
>
> Did you unmount your USB stick first and did you substitute sdX with the
> right device file? If not zcat boot.img.gz > /dev/sdX just creates the
> file sdX and copies the unpacked boot.img.gz to it.
>
> You can find out which device you are using by calling mount from
> command line and without any arguments after mounting your usb stick
> like always. You should see something like
>
> /dev/sdf1 on /media/KINGSTON type ext3
>
> where /dev/sdf would be the device of your usb stick.
>
> It is important to unmount your usb stick before writing to it via the
> device file directly, else your data will get corrupted.
>
> Then you will have to mount your stick again, then copy your netinst.iso
> to it. Note that your stick might no longer be called KINGSTON now.

I think I got it right:

 $ find /media/Debian\ Inst
/media/Debian Inst
/media/Debian Inst/ldlinux.sys
/media/Debian Inst/linux
/media/Debian Inst/initrd.gz
/media/Debian Inst/initrdg.gz
/media/Debian Inst/disk.lbl
/media/Debian Inst/adgtk.cfg
/media/Debian Inst/adtxt.cfg
/media/Debian Inst/exithelp.cfg
/media/Debian Inst/gtk.cfg
/media/Debian Inst/menu.cfg
/media/Debian Inst/prompt.cfg
/media/Debian Inst/stdmenu.cfg
/media/Debian Inst/syslinux.cfg
/media/Debian Inst/txt.cfg
/media/Debian Inst/f1.txt
/media/Debian Inst/f10.txt
/media/Debian Inst/f2.txt
/media/Debian Inst/f3.txt
/media/Debian Inst/f4.txt
/media/Debian Inst/f5.txt
/media/Debian Inst/f6.txt
/media/Debian Inst/f7.txt
/media/Debian Inst/f8.txt
/media/Debian Inst/f9.txt
/media/Debian Inst/vesamenu.c32
/media/Debian Inst/splash.png
/media/Debian Inst/setup.exe
/media/Debian Inst/g2ldr
/media/Debian Inst/g2ldr.mbr
/media/Debian Inst/win32-loader.ini
/media/Debian Inst/debian-503-amd64-netinst.iso


>> wget
>>  http://cdimage.debian.org/debian-cd/5.0.3/amd64/iso-cd/debian-503-am
>> d64-netinst.iso
>> cp debian-503-amd64-netinst.iso /media/KINGSTON
>
> Installing a new mbr should not be necessary, but if you do unmout your
> stick before doing it.
>
>> sudo install-mbr /dev/sdX

Ok let me try again without this.

Thanks,

-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Installing Debian using USB Key

2009-11-27 Thread Florian Kriener
On Friday 27 November 2009 18:31:18 Mathieu Malaterre wrote:
> wget 
> http://d-i.debian.org/daily-images/amd64/daily/hd-media/boot.img.gz
>  zcat boot.img.gz > /dev/sdX

Did you unmount your USB stick first and did you substitute sdX with the 
right device file? If not zcat boot.img.gz > /dev/sdX just creates the 
file sdX and copies the unpacked boot.img.gz to it.

You can find out which device you are using by calling mount from 
command line and without any arguments after mounting your usb stick 
like always. You should see something like 

/dev/sdf1 on /media/KINGSTON type ext3

where /dev/sdf would be the device of your usb stick.

It is important to unmount your usb stick before writing to it via the 
device file directly, else your data will get corrupted.

Then you will have to mount your stick again, then copy your netinst.iso 
to it. Note that your stick might no longer be called KINGSTON now.

> wget
>  http://cdimage.debian.org/debian-cd/5.0.3/amd64/iso-cd/debian-503-am
> d64-netinst.iso
> cp debian-503-amd64-netinst.iso /media/KINGSTON

Installing a new mbr should not be necessary, but if you do unmout your 
stick before doing it.

> sudo install-mbr /dev/sdX

HIH,
Flo.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Installing Debian using USB Key

2009-11-27 Thread Mathieu Malaterre
Hi there,

  I am trying to setup a machine without a CD drive. So I thought the
simpliest would be the USB solution:

http://d-i.alioth.debian.org/manual/en.i386/ch04s03.html

  I followed the steps and did:

wget http://d-i.debian.org/daily-images/amd64/daily/hd-media/boot.img.gz
zcat boot.img.gz > /dev/sdX
wget 
http://cdimage.debian.org/debian-cd/5.0.3/amd64/iso-cd/debian-503-amd64-netinst.iso
cp debian-503-amd64-netinst.iso /media/KINGSTON
sudo install-mbr /dev/sdX

When I start the other computer with the USB key in, it display "MBR
1234FA:" and then just stops...

Is there a way to debug or see what is going on ?

Thanks,
-- 
Mathieu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org