LinuxQuestions.org
Help answer threads with 0 replies.
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-30-2010, 04:57 PM   #1
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
Installing Debian Squeeze on a 1201n


Hey all,
I'm having trouble installing Debian Squeeze on an Asus 1201n (no disc/floppy). I managed to get the Debian install iso on a USB, it boots into the install screen and before I start the actual install where it loads all the packages onto the disc, it says that it can't find a debian CD (because it's on a USB now...is there I file I can edit in the ISO so it looks for /dev/sdb?). I've tried all the USB tutorials on debian.org, but none of them boot! (even with the USB properly formatted, etc.) The only thing I could get with a semblance correct operation was the Debian-live disc, but it has no HDD install script (ala Ubuntu).

Has anyone managed to get debian onto their 1201n? Please let me know how! I spent all of last weekend trying this with absolutely no results!
 
Old 06-30-2010, 09:42 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
How did you prepare the usb stick? Please be specific.

Usually it should be two steps

1. cat boot.img.gz > /dev/foo
2. mount /dev/foo and copy the iso to it

Cheers,

Evo2.
 
Old 07-01-2010, 12:08 AM   #3
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
The ones that did not work I used dd to copy the image to /dev/sdb, one one that did work, I used the ubuntu startup disc creator (but it couldn't find the disc...).


I'm trying another method now, so I'll be back with some fresh info in the next hour or two (I hope).


EDIT: I also used the unetbin method without any success.

Last edited by 108134865; 07-01-2010 at 12:10 AM.
 
Old 07-01-2010, 12:48 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Quote:
Originally Posted by 108134865 View Post
The ones that did not work I used dd to copy the image to /dev/sdb, one one that did work, I used the ubuntu startup disc creator (but it couldn't find the disc...).


I'm trying another method now, so I'll be back with some fresh info in the next hour or two (I hope).
Well, you still didn't try the standard method as I outlined in my post.
It's just four commands: cat, mount, cp, umount. Let me know if you need more details.

Evo2.

Last edited by evo2; 07-01-2010 at 12:57 AM.
 
Old 07-01-2010, 01:22 AM   #5
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
$ sudo cat boot.img.gz > /dev/sdb
bash: /dev/sdb: Permission denied

=(


Here's the method I tried just now though (and failed):

Run unetbootin to make USB drive bootable
*Select "Custom"
*Kernel = the vmlinuz file
*Initrd = the initrd.gz file
*Click "OK" to copy the files to the drive

$ gunzip boot.img.gz
$ mkdir /media/iso
$ mount -o loop boot.img /media/iso

<sudo'd nautilus to dragged everything to usb>
<dragged debian-testing-i386-netinst.iso and debian-testing-i386-CD-1.iso.bak to usb drive>


I booted to the jump drive and it just gave me a flashing cursor for about 10 minutes beneath a short 'about' message for the boot up program on the USB before I gave up. =(


EDIT: I also checked the md5 sums of the ISOs and they were fine.
EDIT2: I also used the amd64 images, but was too lazy to change the filenames in this post
EDIT3: Give me a sec, I found out that just chmod'ing the device is enough to allow root to cat to it.

Last edited by 108134865; 07-01-2010 at 01:36 AM.
 
Old 07-01-2010, 01:51 AM   #6
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
UPDATE:
Here's what I just did, let me know if it's wrong.


$ sudo chmod 777 /dev/sdb
$ sudo zcat boot.img.gz > /dev/sdb
$ sudo mount -t vfat /dev/sdb /media/iso
$ sudo cp debian-testing-amd64-netinst.iso /media/iso


EDIT: Yea this didn't work either. I'm going to be really bummed out if I'm stuck with ubuntu. =(
EDIT2: BTW, the error I'm getting when I boot to USB is: "Boot error" That's it.

Last edited by 108134865; 07-01-2010 at 01:58 AM.
 
Old 07-01-2010, 02:12 AM   #7
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
This method worked for me, but i tested it with stable:
http://forums.debian.net/viewtopic.p...=53256#p307103
All other methods failed. I ain't got no idea why and gave up, then i ran across the link.
 
Old 07-01-2010, 02:57 AM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Quote:
Originally Posted by 108134865 View Post
UPDATE:
Here's what I just did, let me know if it's wrong.


$ sudo chmod 777 /dev/sdb
$ sudo zcat boot.img.gz > /dev/sdb
$ sudo mount -t vfat /dev/sdb /media/iso
$ sudo cp debian-testing-amd64-netinst.iso /media/iso
Hmm. That looks fine to me.

Can you confirm that there is no problem with the hardware? For example try doing a usb boot with some other distro using this same usb stick.

Also, are you sure you have the correct boot.img.gz? Where did you get it from?

Cheers,

Evo2.
 
Old 07-01-2010, 02:58 AM   #9
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Well this one at least got me into the boot menu, but it was giving me some sort of kernel module error. Then I realized I used unetbootbin to install lenny, but I put the squeeze ISO on it. I'm going to try throwing the Lenny ISO on it for CD1 and if that doesn't work I think I'm just going to cry myself to sleep tonight.

Evo2: I got the boot.img.gz file from here, which was referenced in the debian wiki. I've used this USB stick to install ubuntu two nights ago after a debian install failed with the same errors I'm having tonight. Oh and I haven't checked the md5 hash of it, but I downloaded it twice (once before ubuntu and once after) and it gives the same errors.

Last edited by 108134865; 07-01-2010 at 03:04 AM.
 
Old 07-01-2010, 03:44 AM   #10
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
@evo2
My PC boots from USB for sure and i don't have got this problem with any other OS.
I have read lots of how-to's, i had a thread at forums.debian.net, i tried it with Lenny, i tried it with Squeeze, and i tried it for three days.

The odd thing is that for some people it works nice and easy, for others it doesn't
(with my last experience with unetbootin in mind i can imagine that people for whom it works might think one is pretty dump if one doesn't get it running. Took me less than 5 minutes including the download of a netinst-cd with that very last method i linked to)

The question is why it simply doesn't work for some of us.
 
Old 07-01-2010, 05:50 AM   #11
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Ok, so I assume you are following the five steps in the section:

"Squeeze (testing) using an updated d-i"

Can you please just concentrate on this method for now and tell us exactly what errors you get.

Please be sure to redownload the .iso and boot.img.gz files and take note of the time stamps of the files on the server.

Evo2.
 
Old 07-01-2010, 10:47 AM   #12
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Ok, so I assume you are following the five steps in the section:

"Squeeze (testing) using an updated d-i"
I might follow that method if i know where it is to be found.
I used those how-to's:
http://www.linuxconfig.org/install-d...t-memory-stick
http://www.debian.org/releases/stabl...h04s03.html.en
http://forums.debian.net/viewtopic.p...9&hilit=initrd
http://blogs.koolwal.net/2009/02/25/...rom-usb-drive/
http://blogs.pcworld.co.nz/pcworld/t...without_a.html
http://wiki.debian.org/DebianEeePC/H...ndardInstaller

Perhaps some more. The error was:
no CD found.
 
Old 07-01-2010, 05:44 PM   #13
108134865
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
evo2: My top priority at the moment is to get a working machine, but I'll do my best to do work on the other methods this weekend. I'm about to see if I can use j1alu's method to install squeeze - I got stable working with it, but it had no compiler/wired/wireless support. I couldn't tether to my phone either! If testing works for this method I'll let you know and start documenting the others this weekend (remind me if I forget).

(Of the errors I recall, they were as follows: 'Boot error' or the syslinux screen hanging up for 10 minutes with a blinking cursor line, or just 'No operating system found' and once loading into the install screen only to discover it can't find the sources (keeps looking for the CD, but to be fair, this is because I installed it via the Ubuntu Startup Disc Creator) These are probably useless for you without the methods used, however.)
 
Old 07-01-2010, 09:07 PM   #14
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Quote:
Originally Posted by j1alu View Post
I might follow that method if i know where it is to be found.
That method is in the link you posted in post #9.

Evo2.
 
1 members found this post helpful.
Old 07-02-2010, 11:38 AM   #15
jheaton5
Member
 
Registered: Dec 2008
Posts: 33

Rep: Reputation: 16
The key to getting the installer to recognize the usb stick and not query for the CD is to use the hdmedia iso.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Squeeze Repositories drakeman007 Linux - Newbie 15 11-19-2010 10:24 PM
Installing Slackware 13 on Asus Eee PC 1201n Netbook. I683. kaizoku roof Linux - Laptop and Netbook 2 02-22-2010 09:10 AM
[SOLVED] Installing Eclipse on Debian Squeeze nima0102 Debian 9 12-14-2009 01:01 PM
Unicode on debian Squeeze nima0102 Linux - Software 4 12-06-2009 09:16 AM


All times are GMT -5. The time now is 01:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration