oldhoghead
Site Admin
Joined: 01 Oct 2007
#76
TheForsaken,

Please read the whole post before trying anything, there are no guarantees about doing this, you do so at your own risk, with that in mind it would help if you:

Would you post the results using terminal as user using a live-cd

Code: Select all

fdisk -l
(thats an L, lowercase)

and

Code: Select all

df
and also post the files from your install using a live-cd

your /boot/grub/menu.lst (thats and L, lowercase)

your /boot/grub/device.map


In answer to your question about checking the drive, e2fsck is the command to use manually . It is to be noted that it should not be run on a mounted drive.
The proper way to check the disk is using a live-cd, if you use antiX 8.5 Live-cd, then you can repair and do a badblock test without using the cli. You would boot the livecd, then:

Open the Control Center (two wrenches on taskbar),
click on System Tab
click on Configure System
input the root password (root)
When the Mepis System Applet opens click on Repair Partition
Choose the correct disk
Choose the correct Partition
check the Bad Blocks
then hit apply.

If you prefer the cli:

As root in terminal You would have to unmount the drive you want to check, then run e2fsck, like so if your hdd is sda1, that can be ascertained from the info you posted when you ran the fdisk -l (that's an L, lowercase)

Code: Select all

unmount /dev/sda1
then only if the unmount was successful,

Code: Select all

e2fsck  /dev/sda1
if you want to include a badblocks check then run instead

Code: Select all

e2fsck -c-p /dev/sda1
The -c This option causes e2fsck to use badblocks(8) program to do a read-only scan of the device in order to find any bad blocks.

The -p Automatically repair ("preen") the file system. This option will cause e2fsck to automatically fix any filesystem problems that can be safely fixed without human intervention.

If you would feel more comfortable reading before doing anything, which I would encourage, then take a look at:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.netadmintools.com/html/e2fsck.man.html"
linktext was:"http://www.netadmintools.com/html/e2fsck.man.html"
====================================


cheers,
ohh
Posts: 57
pcalvert
Joined: 28 Jan 2008
#77
TheForsaken wrote:
GRUB loading stage1.5
Grub loading, please wait ...
Error 2
IS ALL WHAT I GOT.
We really do need to see menu.lst, like oldhoghead suggested.

Using a live CD, you created and formatted the partitions using GParted, and then you formatted them a second time using the commands I gave you. Which live CD did you use?

Phil
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#78
I'm sorry, I'm totally lost. This e2fsck is showing weird stuff and I have no idea whether I have badblock (or bad sector) or just errors.

I'm using an old CD for Windows Me. I'm formatting the HDD (full format - format C:) and I'll try to check it with some tools I'm more familiar with.

It's not that I want to do it the Windows-Way but I'm really lost with Linux. This command doesn't seem to work or it could be me.
I suspect the HDD is having bad block (sector). If that's the case, I might just install DOS/FreeDOS and that's it.
After all, the idea was a new experience, that's all.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#79
The Hard Disc is damaged and the SCANDISK can't even finish 24% surface scan. Always stuck there. This explain all the weird stuff that happened for the last one month. Not sure what to do now but hope I could install Windows or any thing could work.

With e2fsck, it was showing error messages when it reaches block 3xx and asked me to ignore error then rewrite something. It was doing that for very long time (-p didn't work so had to do everything manually - keep pressing Y).

I have a feeling that it became damaged because of the formatting and stuff. It's more than 11 years old now and it's really good it was alive all these years.

There's no point to keep trying.

THANK YOU everyone and please forgive me for wasting your time.

Hope to see you soon!
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#80
Hi everyone,

I really miss this forum. It's one of the best forum ever. I'm addicted to Ubuntu's forum but this one is really so nice and helpful. I love it.

Okay I'm here to tell you a very good news and a bit of bad news.

Good news: I managed to fix the problem on the HDD. Apparently, it had bad blocks or at least this is what Linux CLI commands showed. I did my best to find a tool to fix that so I found this:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://hddguru.com/"
linktext was:"http://hddguru.com/"
====================================


It's Windows application. I used it to fix the HDD and it's working perfectly now.
I installed Linux Mint 9 LXDE just for the sake of testing, nothing more. It was so much slow (obviously) and I couldn't do anything so I removed it and installed WattOS which is also slow. I guess I'll install either Windows 98/ME, DOS or FreeDOS.

The bad news is: neither AntiX nor any other distribution with GRUB Legacy was able to be installed. THIS IS what I came to find out after billion times of installation. As you already know, immediately after installing antiX or any OS with GRUB Legacy, once I reboot, I got an error message. It never ever happened with me whenever I use an OS with GRUB2. I guess it's because I'm installing while the laptop's hard drive is connected to my PC through USB Connection.

This is a bit of a problem. Every OS with GRUB2 needs minimum 128MB-192MB if not 265MB.
I perhaps need to tweak WattOS or other OS by installing lighter WM like Fluxbox, Openbox, etc.

Honestly, I've done what I was looking for. It's working with Linux even though it's so slow __{{emoticon}}__

I made 700MB SWAP Partition but that did nothing, it's slow.

Just thought I have to let you know __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#81
Thanks for the kind words. Sometimes things just have to work out because of Hardware glitches. Good luck with whatever you run on that ominibook.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#82
rokytnji wrote:Thanks for the kind words. Sometimes things just have to work out because of Hardware glitches. Good luck with whatever you run on that ominibook.
Actually I have to thank everyone here for being so nice, patient and so much helpful.
I'd love to try antiX but unfortunately, it's useless. However, I have antiX installed on one of my PCs.

The best thing about antiX that I have noticed is the simple and helpful guide on the left side of the installation program. It's very informative.

Just out of curiosity ... is it able to upgrade GRUB Legacy in antiX to GRUB2? I mean after installation?

And ... is it possible that antiX's team use GRUB2 or it's too early for that?
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#83
Hello again everyone __{{emoticon}}__

Happy New Year and hope all your wishes and dreams will come true __{{emoticon}}__

WOW, it's been a month since I have posted here last time. I do miss antiX forum a lot. That's why I installed antiX on my other PC and I'm willing to use it (hopefully) on daily basis to discover and learn more about it.

Just wanted to say hi and I was wondering if there are some answers to my below old questions __{{emoticon}}__
TheForsaken wrote:Just out of curiosity ... is it able to upgrade GRUB Legacy in antiX to GRUB2? I mean after installation?

And ... is it possible that antiX's team use GRUB2 or it's too early for that?

I'll have more Questions but that for another thread.

Thank you!
Posts: 57
pcalvert
Joined: 28 Jan 2008
#84
This is what I would do to get antiX working on that laptop:

1. Install the Plop Boot Manager in the MBR of the hard disk drive (HDD).
2. Create a bootable"live USB" version of antiX.
3. Boot the"live USB" version of antiX on the old laptop with the help of Plop Boot Manager.
4. Install antiX on the laptop's HDD. Do *not* install GRUB into the MBR, as that will overwrite the Plop Boot Manager. Install GRUB in the boot sector of the root partition.

The reason why you should leave Plop Boot Manager in the MBR is versatility. In addition to booting antiX from the HDD, you will be able to boot from USB devices. Since the laptop has neither a CD-ROM drive or nor a floppy drive, it is important to retain the extra functionality that having Plop Boot Manager in the MBR gives you.

Phil
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#85
pcalvert wrote:This is what I would do to get antiX working on that laptop:

1. Install the Plop Boot Manager in the MBR of the hard disk drive (HDD).
2. Create a bootable"live USB" version of antiX.
3. Boot the"live USB" version of antiX on the old laptop with the help of Plop Boot Manager.
4. Install antiX on the laptop's HDD. Do *not* install GRUB into the MBR, as that will overwrite the Plop Boot Manager. Install GRUB in the boot sector of the root partition.

The reason why you should leave Plop Boot Manager in the MBR is versatility. In addition to booting antiX from the HDD, you will be able to boot from USB devices. Since the laptop has neither a CD-ROM drive or nor a floppy drive, it is important to retain the extra functionality that having Plop Boot Manager in the MBR gives you.

Phil
Hello Phil,

Two things are preventing me from doing so or"were" preventing me:

1) I already formatted the HDD so there is no OS installed anymore. As far as I remember, Plop can't be installed on a wiped HDD.

2) I already tried that before I format the HDD but antiX never worked from LiveUSB.

Thank you __{{emoticon}}__
Posts: 57
pcalvert
Joined: 28 Jan 2008
#86
#1 is a minor obstacle. #2 I don't have a solution for. It's probably just as well since I don't think you would have been satisfied with the performance.

Phil
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#87
pcalvert wrote:#1 is a minor obstacle. #2 I don't have a solution for. It's probably just as well since I don't think you would have been satisfied with the performance.

Phil
Well, I already achieved what I wanted from the beginning, to install Linux on that old crappy laptop and I did __{{emoticon}}__
It's true that I'm not using it right now because I have no time for it but again, the whole point was a challenge and yet another proof that Linux beats Windows all the way __{{emoticon}}__
I'm very satisfied with this __{{emoticon}}__

In case I got some free time, I might start all over again or perhaps find another old machine.

Thanks!
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#88
TheForsaken wrote:
pcalvert wrote:#1 is a minor obstacle. #2 I don't have a solution for. It's probably just as well since I don't think you would have been satisfied with the performance.

Phil
Well, I already achieved what I wanted from the beginning, to install Linux on that old crappy laptop and I did __{{emoticon}}__
It's true that I'm not using it right now because I have no time for it but again, the whole point was a challenge and yet another proof that Linux beats Windows all the way __{{emoticon}}__
I'm very satisfied with this __{{emoticon}}__

In case I got some free time, I might start all over again or perhaps find another old machine.

Thanks!
Well, looks like I'm in love with that old machine and I can't stop thinking of it __{{emoticon}}__
I'm trying to play around with it yet again. I'm interested to install antiX now and hope it will work this time. However, I might wait for a while until the new release of antiX will be ready.

Honesty, I'm so much interested in Mint 9 Fluxbox and antiX. Not sure which one will be lighter on that laptop? I know antiX might be lighter but Mint Fluxbox has the driver for the Wireless Card.
That laptop has very limited input devices and NO LAN so it will be harder but ... I guess it's good to try.

I'll start with antiX and see what will happen and will let you know.
Mint Flux worked on that laptop but ... slow or so slow when opening anything.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#89
Ok, those who have been following this thread from the beginning, they know it's not possible to install antiX to an USB HDD using the normal installation procedure.
Also, they know I don't have another choice but to take the HDD out from that laptop, connected to my PC using an USB-Enclosure and install from there.
All the attempts to install antiX to that HDD which is connected via USB Enclosure had failed.

Above is just a quick summary of what happened before.

Now, I found out there's a feature to install antiX to an USB Drive"antix2usb" in the Control Panel but my question is:
Is this the right way to install antiX in my case?


I really doubt that for one good reason. I'm going to use that HDD (which is connected via USB Enclosure to my PC) with its laptop so that HDD is NO longer connected via USB, it will be internal IDE HDD.

Have anyone tried this before? if he/she is very sure antiX2usb will work just fine, please let me know.

Also, I was checking Mint's Blog and it says Mint 9 Fluxbox needs minimum 265MB of RAM. This is not very true. From the LiveCD, it took 133MB of RAM.

I'm going to try LXDE (Lubuntu) and see how much it takes from the RAM. LXDE is very light indeed.

I can remove unneeded/unnecessary services and packages from Mint Fluxbox or Lubuntu after installation and while it's connected to my PC. BOTH, Lubuntu and Mint Fluxbox are very easy and straight forward to be installed to USB Devices.

What do you guys think?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#90
My antiX2usb installs are all on pendrives. They boot on everything I own OK (that can boot from USB in bios). So I have no experience to pass on for your particular situation.

That said. Try it. It does not take long and antiX2usb works damn well. If it works out for you. Write up exactly what you did with screenshots. Maybe it will make it into the wiki. I experiment all the time with stuff like this. Then write it up. If I had a IDE to USB adapter. I'd give this idea a shot.

One thing to remember with a antix2usb install. Do not try to update the kernel. But any other installs through synaptic or apt-get like browser, office,games,music players, etc..... will take and be saved in your persistent partition made with antix2usb. Good luck and I hope you have total success with this. Damn, I wish I had a USB to IDE connector to try this. Would make a heck of a write upp.
Ok, those who have been following this thread from the beginning, they know it's not possible to install antiX to an USB HDD using the normal installation procedure.
It wasn't a external IDE hard drive and I did it with AntiX 8.2 way back when.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://yatsite.blogspot.com/2009/07/install-antix-82-final-on-asus-eee-900.html"
linktext was:"http://yatsite.blogspot.com/2009/07/ins ... e-900.html"
====================================