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

Notices


Reply
  Search this Thread
Old 03-09-2010, 11:10 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Rep: Reputation: 271Reputation: 271Reputation: 271
Installing on a Windows 7 computer


I bought the famous $298 eMachines laptop from Wal*Mart.

I shrank the main partition (it has 2 'service' partitions as well) to 50 GB, leaving 150 for Linux, with SystemRescueDisk. I fdisked 2 extended Linux partitions, made ext3 filesystems on them, copied over the system files, but lilo refuses to work, complaining of a fatal raid_setup.

I made a USB Slax (boot) disk. I can boot from it, but that has the same result with lilo. I burned a disk 1 Slack 13.0 CD from the iso image and can mount that, but that doesn't create the setup program.

In my deep dark past (I've been Slacking for 13 years) I always created a boot floppy - but this machine has no floppy drive (my first without!) - and I loaded DOS or Windozze afterwards, something I can't do with Windozze 7. How do I create the same experience with a CD, DVD, or USB drive?

A friend suggested lilo won't work if the Linux partition is on too-high a cylinder ( > 1024 ?). Fixing that would require moving the Windozze partition - I'd rather not.

I'd really like to install Slackware without further tinkering with the partitions or moving Windozzze. But I've forgotten what I'm doing.

Is there a loadlin equivalent anymore? I could put the disk from my old computer in a usb-ata converter and attach that - if that would do any good.

Does grub make this easy? Why does Slackware lack a grub package? Slacking off again?

Thanks for your attention.
 
Old 03-10-2010, 12:22 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
I haven't used Slack in a while and lilo probably this century , so ...

The 1024 cylinder thing was a BIOS limitation - nothing recent has that problem anymore. Linux should install (and run) from any partition. I understand grub should be in extras (maybe) on Slack these days.
I'm waiting on a new laptop to be built which will come with Win7 as well - will give me a chance to play with that for the first time. If you haven't solved this by then I'll drop back - might even toss Slack at it to see what Pat has been up to.
 
Old 03-10-2010, 12:12 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Are the 'recovery' partitions of Windows7 necessary

This new laptop has 2 'recovery' partitions, 1 about 10 GB, the other about 100MB, that are the first 2 partitions. I made a set of recovery DVDs. Does anyone know if I can delete these 2 partitions, that the recovery DVDs provide the same service?

Thanks for your attention.

RandomTroll
 
Old 03-11-2010, 09:00 PM   #4
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
What do you mean by 'copying the system files.' The error then would be that lilo and the kernel would be looking to start from wherever the originals point, not to your current setup. Also, you don't _mount_ the Slack13 CD, you boot to it, logging on and typing 'setup' at the root prompt.
 
Old 03-11-2010, 09:23 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Installing on a Windoze 7 computer

'What do you mean by '"copying the system files."'
I copied the contents of /bin /boot /etc /lib /sbin from my old computer to the new computer and fixed up changed disk references.

'The error then would be that lilo and the kernel would be looking to start from wherever the originals point, not to your current setup.'
I fixed that.

'Also, you don't _mount_ the Slack13 CD, you boot to it, logging on and typing 'setup' at the root prompt.'
Hmmmm... I burnt the Disk 1 iso and it wouldn't boot, but I could mount it. Did I burn it improperly?

I installed grub. I get the grub prompt, from which I can boot into Windozze but when I boot into Linux at the point that it tries to load USB disks (I have none - I disconnected all my USB devices) it reboots.

Thanks for your attention.

RandomTroll
 
Old 03-11-2010, 11:08 PM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Installing on a Windoze 7 computer

Hmmmmm... I made a mistake. I *can* boot the Slackware disk 1 I burnt. setup crashed the first time it tried to configure the system, but worked the second.

But when I boot it halts just after executing /etc/rc.d/rc.local. Shift Lock keys toggle their LEDs but nothing else responds.
 
Old 03-12-2010, 05:35 AM   #7
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
Is there anything _in_ rc.local?

You might try booting to the cd, mounting your hard drive, and then poking around the logs for clues to the hang-up.

If you got as far as rc.local and the machine is connected to a network, you could ssh into it when it hangs and poke around to see what's what. I have a machine that gets stuck there as well (an old desktop) and I have to remotely log in and kill rc.M, after which the login prompt appears. Plus, I have all the other consoles (alt+F1, F2, etc.).
 
Old 03-12-2010, 08:11 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

The 'md5sum' or 'hash' is very important to learn to use and too regularly get in the habit of utilizing it. You can get a sum checker for M$ if need be; 'md5sum.exe'.

For GNU/Linux the 'man md5sum' will get you all the information to perform the check. You can get the 'man command' from the 'cli' at anytime.

If you downloaded the CD/DVD ISO then be sure to check the md5sum for the original ISO. From the cli;

Code:
~#cd /downloadisolocation      #cdromiso.iso cdromiso.md5
~#md5sum -c cdromiso.md5       #substitute the correct name to check
If the ISO md5 is OK then you should check the image burn with 'CdromMd5sumsAfterBurning''.

This way you will know if the burn was OK!

This will check the download ISO with the known md5sum that you also get with the ISO. You should do the check for any download that you might perform, even a LiveCD. Plus burn the image. Sometimes you may need to lower the burn rate to get a valid burn.


These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 03-12-2010, 04:42 PM   #9
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
If the install process (finally) went ok, why go backwards to check the download MD5? Wouldn't a corrupted d/l bork the burn?
 
Old 03-13-2010, 08:39 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by wheelsg View Post
If the install process (finally) went ok, why go backwards to check the download MD5? Wouldn't a corrupted d/l bork the burn?
No, garbage can be unfounded or noticed. If the download ISO md5sum/hash is not correct it could be something as simple as a dropped bit that would reflect a change at that point. No telling where. The hash check along with the check for a valid burn would insure a valid install. The install may have finalized but was it valid?
 
Old 03-13-2010, 04:08 PM   #11
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Installing on a Windoze 7 computer

When I dumped my custom-made kernel and used the package kernel I could boot. I've built my own kernel for 12 years. I thought I knew what I was doing.

Thanks for everyone's help.
 
Old 03-14-2010, 05:06 AM   #12
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
Well, at least we hounded you until you found it. Man, I've been rolling my own for almost as long and _there_ is a place where every jot and tittle produces a result, and not always what's expected. Happy it was that 'simple,' and good luck figuring out what it was...

And thanks to you, onebuck, your reply was well founded and worth remembering.

Slack on, gents, I'm off to look for a 13_64 live CD to pre-test _my_ future dual-boot beastie.
 
Old 03-14-2010, 07:58 PM   #13
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
The root of my problem

It seems I need an initrd.tgz now. I hadn't before. Odd.
 
Old 03-14-2010, 09:28 PM   #14
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
nonononono!

Kinda.

The kernel's gotten a bit beefy and, as I understand it, needs the ramdisk to throw its massive weight into memory to boot. Do a man for 'mkinitrd' and you'll have the syntax for creating one of your very own... Bare bones requirements are a pointer to the kernel you're using and the filesystem you use to boot (plus the '-c' script to keep things tidy). Once you've created it, run 'lilo -v' and you should be good to go. If you poke around the lilo.conf, you'll see how the bootloader points your choice to the initrd .tgz which was created when you 'mkinitrd'-ed.

Are we still talking about the out-of-the-box kernel? Another problem I've had is with roll-your-owns and mkinitrd. I think its time (for me, anyway) to get off my lazy kiester and copy the kernel directory and make my kernels with pointers to specific directories which won't interfere with standard install structure.

Never thought I'd mention ending laziness when referring to Slack. Sounds oxymoronic.

Get to work,
Geoff.
 
Old 03-15-2010, 01:08 PM   #15
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quoth wheelsg: 'The kernel's gotten a bit beefy and, as I understand it, needs the ramdisk to throw its massive weight into memory to boot.'

That's not it: I can load the 'huge' kernel, 50 MB, without an initrd.tgz. It's for modules needed to load the kernel. And I was wrong: that's not my problem. I thought it was because when I booted with the non-huge kernel I had the same symptom. Something else is going on.
 
  


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
New computer built and I'm looking to partition without installing Windows first bdoublegeez Linux - Newbie 12 10-18-2008 03:54 PM
Installing LiMP on a windows 98se computer arich2day Linux - Newbie 1 11-27-2007 06:20 AM
How to move open office doc from Linux computer to Windows computer Phoenixink Linux - Software 6 02-15-2007 07:09 AM
Installing MS Windows on a SuSE installed computer. ad1366 Linux - Software 2 03-10-2006 12:27 AM
installing windows on a computer with linux glock19 Linux - General 16 04-29-2002 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 08:34 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