LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2009, 07:23 PM   #1
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Rep: Reputation: 0
Tinycore 1.4 and HD install... GRUB can't set up


I'm trying to do a hard drive install of Tinycore Linux.

I followed the instructions down to the GRUB setup. I keep receiving an error that it can't find stage1.

Initially, I followed the instructions, received the message, but I had no idea where I was copying those files to. I've copied the GRUB files to /mnt/hda/boot/grub/ and /mnt/hda1/boot/grub/ as well as a number of other likely irrelevant places.

I keep receiving the following text trying to run setup (hd0)

Code:
Checking if "/boot/grub/stage1" exists... no
Checking if "/boot/grub/stage1" exists... no

Error 15: File not found
So where was I supposed to have copied these files so GRUB could find them and I could get it to boot from the hard drive?

Last edited by Rime; 06-16-2009 at 07:25 PM.
 
Old 06-16-2009, 07:46 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Usinng Tinycore cd with grub-0.97-splash.tce installed, try using
grub-install --root-directory=/path/to/mounted/partition /dev/hdx
where hdx is hda or sda or whatever
must give path to mounted partition you wanna install grub to
like if it was hda1 it would be --root-directory=/mnt/hda1

also, if you wanna make Real easy...download ,my new grub.iso I made with everything you need to install tc
simple, boot grub-cd or put it on usb, copy contents of grub.iso to hd
invoke grub-install as above, edit menu.lst in boot/grub
and your off.
( http://multidistro.com/downloads/tin...rub_iso.tar.gz ) (50mb)

also, i got alot of tc stuff here including "flavors" which are tcvd's
and you can download tc-1.4.3-usb and add a flavor or two
you can put the flaors on hd or usb
cheatcode
tcvd=hdxx restore=tcvd tce=tcvd waitusb=5
only use waitusb=5 for usb
( http://multidistro.com/downloads/tc_...c_flavors.html )

Note, the grub iso at page above is not same as link above
there's a menu.lst there too
and tinycore shots too
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )

and portable tinycore too, if you want link for that, but it's still not finished(docs)
so, check that out and tell me if grub-install works
make sure you use grub-0.97-splash.tce
 
Old 06-16-2009, 09:48 PM   #3
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks again Linus for offering me some avenues. However, I ran into a kernel panic... not syncing error, so I think I'll have to pursue installation with 1.4. It's not a problem, though, it's a K6-2 500 with 380MB RAM.

Well, as soon as I get a burner in that machine so I can put the apps on the CD. I'm also pondering using LILO and just using the whole 8GB. It's not like I have any valuable data I'd shed tears over if the drive suddenly died.
 
Old 06-17-2009, 09:33 AM   #4
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
I have good news and bad news.

The good news? I've got it installed and it boots.

The bad news? It seems afraid to write anything to the hard drive. PCMANFM tells me that I have 0 bytes free, although I suspect that's because it's instaling everything to RAM. I'm sure it's just something to do with doing configuring some settings in TC but I can't seem to figure out at this point what it is.
 
Old 06-17-2009, 10:01 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
oh, please give more info?
to run a app as root, invoke thru root shell
root@tc# pcmanfm
I use xfe, as you can also get xfw, etc
your using 1.4.3?
2.0 got lots more apps.
use "control panel" to mount drives/partitions.
pcmanfm is saying that cause either the partition isn't mounted or you goota invoke as root.
it works really good once you read all the stuff about tc
tell me if that works?
 
Old 06-17-2009, 04:53 PM   #6
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
I'm making progress. And I appreciate your dedication to helping me out.

I had to give up on 2.0 for this machine. It's a K6-2 500MHz on an ASUS P5A-B motherboard with about 380MB of RAM. I loaded the CD, and it gives me an error before it's even completely loaded.

Code:
IO APIC Resources could not be allocated
Kernel Panic - Not Syncing:  Attempted to kill init!
I searched around for a solution to this, and there doesn't appear that there's anything I can do for this antique. I'm only planning to run some old Windows games on it, so I can live with an older version of the kernel as long as WINE and DOSBOX can run the programs. My aim was to have something that performs as fast as 98, (no easy task because the programs have to run on a layer) so I need a nice light kernel, but I also want stability, which is why I'm mucking around with Linux distros. The perk of "free license" is also a bonus.

As far as the progress, I figured out how to browse as a superuser now and I have 6GB free on my hard drive, but I'm still getting everything installed to RAM as opposed to the hard drive. I'm fairly new to Linux at this level, so I'm going to have to do some reading to figure out how to get things set up the way I want them.

Thanks for hanging in here so far.
 
Old 06-17-2009, 05:20 PM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
You can do a full tc-1.4.3 install, extracting the tinycore.gz into a partition
and manually adding apps, editing fstab/mtab and installing grub, that's it.

tinycore team "frowns" upon hd install, called "scattermode" by mr shingledecker
( http://distrowatch.com/weekly.php?is...090323#feature )
dude's a genius.

however, he also believes in letting the end user do whatever
including remastering and hd-install
( http://wiki.tinycorelinux.com/tiki-index.php )
if you do hd-install the ram usage will go way down too
I am messing with hd-install now

anyway, what's your main computer specs?
need to know so I can explain a littl more...
 
Old 06-17-2009, 08:45 PM   #8
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
Okay, next step. I mucked around a bit and Google wasn't very forthcoming about manually adding applications.

Would I use the "download only" button, take the tce file(s) and stick it in a "myapp" directory that I'll reference/install on my hard drive later? Or would I take a copy of the folders from the /usr/local/lib/ and /usr/local/share/directories and paste them to the install on the hard drive?

If it's the first option, where can I retrieve the file when I ask it to download only?

Thanks for the effort, I'm still hopeful. And once I manage, I'm sure I can confidently offer up another flavor for someone interested in Linux.


Last edited by Rime; 06-17-2009 at 08:48 PM.
 
Old 06-17-2009, 09:10 PM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I'm sorry dog, i forgot to mention about all that...
here's 1.4.3 tce/tcz repos
( ftp://ftp.nluug.nl/pub/metalab/distr...tinycorelinux/ )

and here's 2.0
( ftp://ftp.nluug.nl/pub/metalab/distr...corelinux/2.x/ )

the apps autoinstall into a folder named "tce"
at boot enter "tinycore restore=hdxx/tce tce=hdxx"
where xx is hd/usb partition, I usually designate the restore (mydata.tgz)
to go in the tce folder, as above.
after entering above tc will make a tce folder where you said.
or just make one and lead tc to it.
boot options similar to dsl
( http://wiki.tinycorelinux.com/tiki-i...e=Boot+Options )


If you wanna remaster tc you can untar the tce/tcz's and place them in
appropriate folders, re-compress and you have remaster
or do hd install by untaring tinycore.gz in partition
and add apps manually by untaring them
and to untar the tce's etc, just change name from .tce to .tgz
and then use archive manager, etc to extract
 
Old 06-17-2009, 09:28 PM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Here Rime, check that out...
( http://multidistro.com/downloads/iso....0-Beta.tar.gz )
 
Old 06-18-2009, 07:43 PM   #11
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks, Linus. That was helpful for the command lines even if my antique couldn't boot the kernel.

For a minute I thought I was unnecessarily reinventing the wheel, but I realize that there may be easier options than remastering Tinycore to my liking.

At the moment, whenever I run the WINE configure utility, it automatically sets up the virtual C: drive wherever the /home directory is. Meaning that I have to fit games that run upwards of 1GB in RAM (and on 3 128MB sticks, I don't think it's gonna happen). It seems that I can't just make my HDA5 partition a FAT32 and try to install my Windows software, my games seem to need a C: drive.

Which was why I was reinventing the wheel, figuring if I could get the /home directory on hda1 then WINE would install there also, and that's why I've been insisting on trying to install in scattermode. If there's a way to make WINE create its virtual C: drive on my hard drive without having to remaster Tinycore, then that would save a lot of time. Or perhaps trying to set up the /home directory on the hard drive, which I think should be possible, but I haven't looked into it yet.

My next avenue is poking around on various forums about WINE and getting it to make that virtual drive on another partition. Presently, that's where I'm really stuck. And I can resolve this quickly by getting WINE to install its virtual drive on hda1 or continue reinvent the wheel.

Thanks for the help so far, even if I might have been going down the wrong road. I'm not throwing in the towel, because I'd like to see a 'nix OS run a popular Windows game like Diablo 2 or even Quake with the same speed as 98 but without the random crash factor I've been experiencing with troubling regularity. Even under a heavier kernel, it's been as solid as a rock.

Last edited by Rime; 06-18-2009 at 07:49 PM.
 
Old 06-26-2009, 05:36 PM   #12
Rime
LQ Newbie
 
Registered: Jun 2009
Location: Atantic Canada
Distribution: Vector Linux
Posts: 9

Original Poster
Rep: Reputation: 0
I managed to get that problem solved after trying to reinvent the wheel. There's a cheat code about creating a persistent /home directory. I've installed Diablo 2, Starcraft and Master of Orion 2 without any problems. These games will start up, but will dump me to my desktop just about as soon as they're started, but I suspect it has to do with some configuration issues with the way I've set up Xorg and ALSA.
 
  


Reply

Tags
grub, install


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
Grub install error on RAID 5 set Akhran Debian 2 05-18-2010 10:41 AM
New Tinycore release for USB - Includes complete setup for FAT16/32 & EXT2/3 linus72 Linux - Newbie 2 06-03-2009 03:19 PM
LXer: Tinycore & Microcore V2.0 Release Candidate 4 Available LXer Syndicated Linux News 0 06-01-2009 02:40 AM
No ethernet even w/ ethernet cable attached on TinyCore Linux johnnyxxxcakes Linux - Laptop and Netbook 3 05-29-2009 06:11 PM
grub not seeing grub-set-default change bic Linux - Software 4 02-15-2008 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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