can't install DSL!! :'(Forum: HD Install Topic: can't install DSL!! :'( started by: unh0ly_freak Posted by unh0ly_freak on April 27 2007,23:03
I forget the install I chose, but it was the one that's supposed to install DSL to the hard drive.. it also does this whenever I use the normal install method (just hitting enter). I get this:
I already got my hard drive partitioned for a linux system.. I can't go into detail with that 'cause I partitioned it a while back before I got my old new computer (it's a whole thing.. had to change hard drives and floppy drives, etc..). But yeah, I can't install DSL 'cause I always get the above.. :/ Does anyone know how I can get passed this and actually install DSL? Thanks in advance for any replies. Posted by lucky13 on April 27 2007,23:18
"Frugal" and "hard drive" both install to hard drive.
The more details you offer, the more help you're likely to get. Find out what kind of partitioning scheme you used ("fdisk -l /dev/hda" will show the partitions on your hard drive -- assuming your hard drive is hda), which kind of install, etc. Posted by unh0ly_freak on April 27 2007,23:36
I couldn't get the command you gave me to work.. so I just booted zboot and checked in the program that I partitioned with. Here's what it says:
Posted by lucky13 on April 28 2007,01:18
Is your Linux partition toggled bootable?
Posted by ^thehatsrule^ on April 28 2007,01:20
That error message should pertain to frugal installations.For the fdisk command, you'll have to boot the livecd to do that since you don't have a working environment yet. Also, in the livecd, try mounting your linux native partition (ie via mount tool) and list what's stored in there (ie with `find`). And just hitting enter will not complete your installation. Afaik you have to specify which partition, etc. Posted by unh0ly_freak on April 28 2007,01:33
I got no idea what you mean.. :/
Thanks for the info.. but I'm extremely confused... I only have the cd with the iso on it.. and I boot that using the boot floppy, since the cd won't boot on it's own with the computer I'm using. I dunno what you mean by livecd.. or any of what you said, basically. Sorry for makin' this complicated... but I just don't get it.. Posted by lucky13 on April 28 2007,01:52
when you set up partitions, did you use cfdisk or fdisk? Both of those partitioning utilities let you "toggle" partitions from which you can boot. If you have three partitions -- which you should if you're doing the frugal install -- you'll have a swap partition and two Linux partitions. You would toggle the one containing the OS (not the swap, not the one containing your persistent /home and /opt) so you can boot from that partition.
That's the live CD. Boot up using it, do the "fdisk -l" I mentioned previously, copy the output exactly, and paste it back here so we can see what you actually have. Posted by unh0ly_freak on April 28 2007,02:01
I used zboot to set up the partitions.. I don't think I could figure out how to use cfdisk or even fdisk.. so I found zboot and used it. And I only got two partitions.. a native with about 1,000MB and a swap with about 400MB, I think. (Old, small hard drive..)
When or where do I enter the "fdisk -l" thing? When I boot the cd, it goes to the DSL thing.. then I can press F2 or F3 for more install options, or press enter and it begins on it's own. (This's where the original problem comes in, where I get stuck at the KNOPPIX thing..) So I'm not sure where I should enter the "fdisk -l" thing. Posted by unh0ly_freak on April 28 2007,02:20
I just tried the fdisk thing after the knoppix# thing, where I always get stuck.. and here's what it said:
Posted by lucky13 on April 28 2007,02:25
How much RAM do you have? You may need to use lowram:< http://www.damnsmalllinux.org/wiki/index.php/Cheat_Codes > After it boots up, you'll need to get a command line -- either exit to console (and type "sudo su" and enter) or launch aterm as superuser (root). That's where you type fdisk -l /dev/hda (or whatever your hard drive is -- I'll assume if it's older/smaller that it's hda). You want there to be an asterisk next to your Linux partition like this with whatever partitions you have:
If you don't see an asterisk next to the non-swap partition, you can run cfdisk and toggle it bootable. This is what cfdisk will look like: < http://www.eff.org/IP/broadcastflag/cookbook/cfdisk.png > Just move up or down to highlight the Linux (NOT the swap) partition and then move the menu (right-left arrow keys) to Bootable and hit enter. It should be flagged as bootable after that. Then move over to WRITE. Hit enter. It will prompt you because it's rewriting your partition table. Make sure it's right for what you want to do (if you're doing a frugal install, you really need three partitions -- a swap, one 55-60 MB partition for the ISO, and the rest can be used for persistent /home and /opt partitions as well as for your backup). Once you've written it you can quit cfdisk. Posted by lucky13 on April 28 2007,02:28
No, your prompt will need to say dsl@box (and then sudo su to change it to root) or root@box for you to do fdisk. Posted by unh0ly_freak on April 28 2007,03:12
I went back in zboot and made 3 partitions like you said I should do.. one swap, one native about 60MB, and the rest is on a native also. Which native should be set to bootable? The 60MB one or the larger sized one? Posted by unh0ly_freak on April 28 2007,03:21
I tried setting the larger native partition as the bootable one.. and I used the lowram install.. but it still gives me the same thing I posted in my first post.. :/And I think that computer's only got like.. 16MB of RAM.. EDIT: My bad.. I went back in tis thread and read that I should set the smaller partition as the bootable one.. but even then, it doesn't change anything. *sigh*... Posted by ^thehatsrule^ on April 28 2007,04:03
So currently the problem is not "can't install DSL" but "cannot boot DSL livecd using a bootfloppy".What kind of cdrom drive do you have? Which floppy image did you use? Posted by unh0ly_freak on April 28 2007,04:19
I'm not sure what kind of cdrom drive I have.. and I'm not sure what floppy image I used, either.. it was the most recent one on this site a few months ago, though. But I don't get what you mean by that.. 'cause I already have the livecd booted.. well, far enough to see the DSL screen and to where I can choose the install method.. but it doesn't install correctly. I choose an install method and it goes to this:
Where knoppix# is like a command prompt.. but I dunno what to do there... and I dunno how to get anything but that to show up after I choose to install it. Or am I wrong?.. 'cause I feel basically clueless with all of this now.. Posted by ^thehatsrule^ on April 28 2007,04:33
No, that's as far as the bootfloppy gets you.
Posted by unh0ly_freak on April 28 2007,04:41
Oh.. well.. I guess I'll redownload and burn the iso to cd and see if that'll work. But, after looking at this page (ftp://ibiblio.org/pub/Linux/distributions/damnsmall/current/) I see a few different iso's I could download.. which should I get? Posted by ^thehatsrule^ on April 28 2007,06:32
Just use current - this will be the isolinux version, but it really doesn't matter since you are using a bootfloppy.But you already did burn a version of the DSL iso to cd... so it's probably most helpful if you can find out what cdrom drive you have (check BIOS setup if you don't have any tools handy) and how it's connected to your system. Posted by unh0ly_freak on April 28 2007,07:33
I decided to download the B version mentioned in the FAQ.. but I don't get it. Like.. this is as far as I could get on the old computer, and I'm using a different cdrom drive on the newer one. So.. *sigh*.. I dunno... I'll see if I can find any info on the cdrom drive. Posted by unh0ly_freak on April 28 2007,07:54
I checked in the BIOS.. but I don't see any info about the cdrom drive.
Posted by unh0ly_freak on April 28 2007,09:35
BREAKTHROUGH!!Ok, I used the new cd I burned (with dsl-3.3-syslinux.iso on it) and I got passed the place I was stuck at. It started listing a whole bunch of stuff that it was doing.. then it came to this: (colors are the same as they were displayed on the other computer) dsl@tty1[dsl]$ then I tried entering the two commands listed earlier, and here's what I got: When I entered fdisk -l /dev/hda, it said
When I entered sudo su, it said
But now I don't know what to here once I get to [/home/dsl]#.. I can enter commands here, but still have no idea what to do. Posted by curaga on April 28 2007,10:23
So it seems you either mistyped (fdisk -l /dev/hda not fdisk -l dev/hda) or there isn't a driver for your ide controller, or your HD isn't connected..Now that you are there, play around a bit, get to know Linux.. Try ls, cd, nano..... Try "free" it lists how much memory you have... Then type (as root, aka after sudo su)
It will show all ide messages from the kernel.. Post 'em here... Posted by curaga on April 28 2007,10:28
Livecd: A bootable cd that doesn't touch your mass storage unless you tell it to, great for trying out distros
Posted by lucky13 on April 28 2007,11:38
You need to be root to do the fdisk -l (lower-case L). You can do the sudo su then then fdisk -l or just do sudo fdisk -l /dev/hda. Make sure you type it correctly like curaga pointed out. As far as your re-partitioning, you want the 60MB one bootable. That's where you'll install DSL frugal. You'll want to use the larger Linux partition for /home and /opt and backup. And you need to turn on your swap once you get DSL installed (X=whichever partition you set for swap): sudo mkswap /dev/hdaX sudo swapon /dev/hdaX Posted by unh0ly_freak on April 28 2007,12:13
After sudo su, I get [/home/dsl]#.. from here, I tried this: dmesg l -i ide (the l being a lower-case L).. and I got:
Then I tried: dmesg | -i ide.. (the | being the line that you get from holding shift and pressing the back-slash button).. and I got this:
I don't get the alt-gr thing you mentioned.. 'cause when I hold alt and press even just the letter G, it auto-types the word Events.. Sorry once again for dragging this on and complicating it.. but I really appriciate all the help. Posted by lucky13 on April 28 2007,12:40
Just do:dmesg | grep ide Posted by unh0ly_freak on April 28 2007,13:53
Man.. I wish there was a way I could copy everything from that computer onto floppy so I wouldnt've had to write all of this down.. then type it out again.. so if there's any way to do that, please lemme know. lolBut yeah, here's what I got:
(I swear that looks like a LOT more on paper..) And when I tried the second command, the one with HD at the end of it.. it did more than it let me see, but here's what I could see (remember: this's after I entered the command dmesg | grep hd).
I have no idea what any of that means.. but I hope someone here does.. Posted by unh0ly_freak on April 29 2007,01:15
Ugh... I tried doin' something I found from another place on damnsmalllinux.org.. the old forums, or somethin.. I dunno. (This place: < http://www.damnsmalllinux.org/f/topic-3-5-14837-20.html > )But yeah, I tried booting with "dsl 2" and then creating /ramdisk/tmp, then I ran dsl-hdinstall from /usr/sbin.. it seemed like it was working right. It went through everything ok, then it said I had to reboot to finish the installation. So I rebooted as it prompted me to.. then my computer said "No operating system found" or whatever. So then I tried using zboot to check my partitions.. but now I can't even do that. Whenever I try to use zboot, it loads the background, but all it does is show a little box with the sentence "Checking Hard Disk" (or something like that) flashing. So I can't even use that now. I tried using killdisk again to start over completely, but zboot still does the same thing. So I don't know what to do now... I don't wanna give up on this, but it doesn't really seem like it wants to work for me. Posted by ^thehatsrule^ on April 29 2007,04:19
I'm wondering what kind of machine you are running (specifically how much RAM, or physical memory). It seems you are running with low memory... if so, you can boot with "lowram" among other bootcodes (see wiki page i.e. for the superlowram sequence; another thing that seems to work is to specify how much ram, e.g. "mem=16M")Did you get this far by using the bootdisk+isolinux cd? If so, it sounds like your first disc was corrupted (did you check your 2nd download?). Looks like you got 2 ide hdd's and a cdrom drive... but it seems hda and hdb are incorrectly set? Try partitioning using `cfdisk -z /dev/hda` or if you're using hdb, `cfdisk -z /dev/hdb` Posted by unh0ly_freak on April 29 2007,04:46
As far as I know, it's got 16MB of RAM.. a 1.5GB HD, and there's a 100MB ZIP drive there, too.. but this's the first ZIP drive I've ever had, so I ain't messin' with it since I don't know how to use it.. plus, it's the only computer here with a ZIP drive.. and I don't have any zip discs, so there's no point in it really. But yeah, 16MB of RAM, 1.5GB HD, 100MB ZIP drive, CDROM drive, floppy drive.. and that's all I know. Anyway.. yeah, I got that far by using the bootdisk and the new cd I burned.. but now I gotta figure out what's wrong with it now.. it won't even let me use zboot anymore, which's what I use to partition with. I 'would' use cfdisk and see if that would work, but I could never find it. I searched all over google for like.. forever.. but I couldn't find a download for it. So if you got it or know where I can get it and can send it to me or tell me where to download, I'd really appriciate it.. maybe that'd work even though zboot doesn't. Also: when I booted with "lowram", I could only get as far as [/home/dsl]# or whatever.. but in booting with "dsl 2", it let me install it.. though it also messed everything up 'cause I didn't do something right. But yeah, I couldn't figure out how to install from where lowram led me to. Posted by ^thehatsrule^ on April 29 2007,05:37
cfdisk is included in DSL.Did you use "dsl lowram"? Did you try others? You can combine them, such as "dsl 2 lowram mem=16M". There's plenty others that may help you (like I suggested before, check out the wiki page) Posted by unh0ly_freak on April 29 2007,05:45
Ah, cool.. I didn't know you could combine'em like that. But how do I use cfdisk in DSL?? Posted by ^thehatsrule^ on April 29 2007,06:10
Posted by unh0ly_freak on April 29 2007,07:16
What's the difference between hda and hdb? Like.. I only got one hard drive hooked up.. so.. I dunno, I don't get it. EDIT: Nevermind that question.. I figured it out. I got cfdisk to work and I created the partitions correctly now. Though, when I tried using dsl-hdinstall, it said it needed 200MB of free space on the partition.. not 50 or 60.. so it started saying somethin' like "can not created directory, not enough space". So I added space to the small partition, got it set as bootable, and I'm gonna try dsl-hdinstall from runlevel 2 and see if that'll work now. Posted by unh0ly_freak on April 29 2007,08:59
*sigh*...Like I said, I got cfdisk working.. and I tried the 200MB partition dsl-hdinstall.. it seemed like it worked right, but when I rebooted, it said "Missing operating system".. so I went back in cfdisk and there's no partitions there. How do I exit cfdisk where it saves the partitions?? I did make sure to Write my three partitions to disk, but they still disappear for some reason.. after writing them to disk, I've tried exiting cfdisk through the command in the program, and I've also tried ctrl-alt-del.. the partitions disappear when I checked back both times. Posted by lucky13 on April 29 2007,11:29
There are two basic installation options: frugal and hard drive. Both go to the hard drive; frugal doesn't mean you're losing anything. The frugal install puts the ISO -- the whole ISO image itself in its ISO form -- on its own partition (the other partition you should set up for frugal is for a persistent /home and /opt because you the ISO will be read-only and you probably want a place to store your settings, files, extensions, etc.). The hard drive install is a typical Debian-like installation that goes to one partition with a normal read-write directory structure. There are benefits for using either and you'll find proponents of both here (I'm a proponent of both, though the machine I use DSL on the most has a traditional hard drive install). The frugal install is the one that requires 50ish (55-60 is safer in case the ISO ever goes a little over 50MB). The traditional install is what you tried. You could've just as easily installed it to the other Linux partition you said you made. As fas as the partitioning issues you've had go, I have no experience using zboot. You should be able to exit cfdisk using the quit command on its little menu. From there, do either a normal shutdown (then boot again) or reboot: sudo reboot sudo shutdown -h now Try rewriting your partitions using cfdisk, reboot (using the command above), installing DSL whichever way you want, then reboot (which it should do on its own if you do a hard drive install). If it doesn't work, please copy down and paste back here the fdisk -l /dev/hda info after you write the partitions. I'm starting to wonder the condition of your hard drive, if your hard drives are jumpered correctly, if you have something on the MBR that's messing things up or causing some kind of conflict (zboot's boot manager, perhaps? let's deduce the rest first), if your partitions are suitably sized for Linux, etc. Posted by ^thehatsrule^ on April 29 2007,16:45
I suppose hdb is your zip drive perhaps...I'd suggest _not_ using frugal for your setup (due to low memory). Make sure in cfdisk you "Write" then, as lucky13 suggested, "Quit" then reboot. If you still have no partitions, my only guess is that you have faulty hardware...? Posted by unh0ly_freak on April 29 2007,23:07
I think I finally got it!!! I got it to the desktop showing icons and all, but I haven't tried rebooting since then, so yeah.. it 'should' be working right, though. What I did was repartition using 2 partitions (the linux and linux swap) in cfdisk, then I exited and used sudo reboot. Then I tried the fdisk check thing, and it showed both partitions with the * next to the main one. Then I did the dsl-hdinstall and went from there.. then I used the Lilo boot thing instead of Grub.. and it didn't say "Missing operating system" this time! I wasn't sure what some'a the options I had to go through were.. but it made it to the desktop.. so I'ma go mess around with it, try restarting the computer and whatever else and see if it all works right. I'll update here if somethin' messes up.. but let's hope it don't. THANK YOU!! To everyone who helped me!! I really appriciate you guys takin' your time to help me through this, I couldnt've gotten it installed without you. Posted by unh0ly_freak on April 29 2007,23:32
I was hoping I wouldn't have to post in this thread again, but I'm confused... like, DSL boots now, and I can get to the desktop ok. But every time I boot, the desktop is different. The first time, it had a weird lookin' background, but it showed the system stats in the top right corner and it showed the icons in the top left corner. Second time I booted, it asked for me to make a password for root.. but the keyboard wouldn't work. Well, it worked 'cause I could hit NumLock and the light would come on.. but it wouldn't let me type anything. The third time, it showed the weird background (black and white lined looking background).. showed the system stats, but no icons. I changed the background to the light blue color, then rebooted. The fourth time, it had a darker background (not the one I changed it to, but it looked better than the original).. and also, no icons nor system stats were shown. One of the times that I booted DSL (I forget which time), I clicked or right clicked on something for the icons and I clicked "Show Icons" (I think), but they didn't show up even after that. Is there something wrong with it, or do I just need to set up some stuff to get it to stay the same whenever I restart the computer? ---- I know this's all AFTER the HD Install.. so if I should create a new thread somewhere else about this, please let me know. EDIT: I restarted the computer again and it went back to the original background, it showed the icons and the system stats.. but there was also a little box with some buttons and somethin' else in it.. I think it said "unmounted" and something else on the buttons.. then the mouse stopped working and the keyboard did too.. NumLock didn't even work (the light on the keyboard didn't turn on).
Thanks. Posted by lucky13 on April 30 2007,11:04
Hit ctrl-alt-backspace. This will take you out of X to console. Type:xsetup.sh Then enter the settings you need for your mouse and monitor. EDIT: Oh, another thread... nevermind |