Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-30-2010, 03:57 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Rep:
|
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!
|
|
|
|
06-30-2010, 08:42 PM
|
#2
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,720
|
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.
|
|
|
|
06-30-2010, 11:08 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Original Poster
Rep:
|
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; 06-30-2010 at 11:10 PM.
|
|
|
|
06-30-2010, 11:48 PM
|
#4
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,720
|
Quote:
Originally Posted by 108134865
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; 06-30-2010 at 11:57 PM.
|
|
|
|
07-01-2010, 12:22 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Original Poster
Rep:
|
$ 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 12:36 AM.
|
|
|
|
07-01-2010, 12:51 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Original Poster
Rep:
|
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 12:58 AM.
|
|
|
|
07-01-2010, 01:12 AM
|
#7
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
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.
|
|
|
|
07-01-2010, 01:57 AM
|
#8
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,720
|
Quote:
Originally Posted by 108134865
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.
|
|
|
|
07-01-2010, 01:58 AM
|
#9
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Original Poster
Rep:
|
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 02:04 AM.
|
|
|
|
07-01-2010, 02:44 AM
|
#10
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
@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.
|
|
|
|
07-01-2010, 04:50 AM
|
#11
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,720
|
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.
|
|
|
|
07-01-2010, 09:47 AM
|
#12
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
|
|
|
|
07-01-2010, 04:44 PM
|
#13
|
|
LQ Newbie
Registered: Jun 2010
Posts: 8
Original Poster
Rep:
|
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.)
|
|
|
|
07-01-2010, 08:07 PM
|
#14
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,720
|
Quote:
Originally Posted by j1alu
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.
|
07-02-2010, 10:38 AM
|
#15
|
|
Member
Registered: Dec 2008
Posts: 33
Rep:
|
The key to getting the installer to recognize the usb stick and not query for the CD is to use the hdmedia iso.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:31 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|