I am attempting to install AntiX to an external USB disk drive. The install appears to have been successful, but when I try to boot into it I get a Grub Error 18.
From my research:
Grub Error 18 : Selected cylinder exceeds maximum supported by BIOS
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general)
(This installation is intended to be running on a 2003 vintage Gateway P4, so it is an old machine.)
I thought I installed Grub correctly, but apparently something went wrong. I am guessing I did not structure the Linux partitions correctly. I have attached the Results.txt from BootInfoScript, which should show what's located where.
sda1 is a primary partition. Then I built an extended partition and 3 logical partitions within it. sda3 is another primary partition formatted NTFS so that XP can see it (it does).
I am hoping that someone a lot more knowledgable can tell me how I can reconfigure / reinstall AntiX so that Grub will work and this installation will be successful. Let me know if more information is needed.
Thanks,
Ed
(I can't seem to attach a text file, so the contents are shown below.)
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the
same drive in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Welcome to antiX. Powered by
Debian Testing and MEPIS. For cli install, login as
root (password=root) and type cli-installer. Follow
the instructions.
Boot files: /boot/grub/menu.lst /etc/fstab
sda7: __________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 514,047 512,000 83 Linux
/dev/sda2 514,048 74,242,047 73,728,000 5 Extended
/dev/sda5 516,096 4,612,095 4,096,000 82 Linux swap / Solaris
/dev/sda6 4,614,144 33,286,143 28,672,000 83 Linux
/dev/sda7 33,288,192 74,242,047 40,953,856 83 Linux
/dev/sda3 74,242,048 625,141,759 550,899,712 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 252 MB, 252182528 bytes
32 heads, 16 sectors/track, 962 cylinders, total 492544 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 16 492,543 492,528 e W95 FAT16 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 e765ec20-3751-44b0-9f0a-400523f9c995 ext2 /boot
/dev/sda3 370A8C0963D08D50 ntfs toshi jr
/dev/sda5 bf8883c7-8a8a-46ff-b4d3-a07e286b8295 swap
/dev/sda6 267cafcd-a1cb-4d11-a9bd-e7895362014d ext3
/dev/sda7 4f1a28cb-eb2e-44f9-a1f2-0a9eaaee507e ext2 /home
/dev/sdb1 2FD4-760B vfat
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /linux squashfs (ro,relatime)
/dev/sda1 /mnt/sda1 ext2 (rw,nosuid,nodev,relatime)
/dev/sda3 /mnt/sda3 fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions,user=demo)
/dev/sda6 /mnt/sda6 ext3 (rw,nosuid,nodev,relatime)
/dev/sda7 /mnt/sda7 ext2 (rw,nosuid,nodev,relatime)
/dev/sdb1 /aufs/media/disk vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,shortname=winnt)
/dev/sr0 /cdrom iso9660 (ro,relatime)
=========================== sda6/boot/grub/menu.lst: ===========================
--------------------------------------------------------------------------------
timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message
title antiX at sda6, kernel 2.6.36-1-mepis-smp
root (hd0,5)
kernel /boot/vmlinuz-2.6.36-1-mepis-smp root=/dev/sda6 nomce quiet nosplash nouveau.modeset=0 vga=791
initrd /boot/initrd.img-2.6.36-1-mepis-smp
boot
--------------------------------------------------------------------------------
=============================== sda6/etc/fstab: ================================
--------------------------------------------------------------------------------
# Pluggable devices are handled by uDev, they are not in fstab
/dev/sda6 / ext3 defaults,noatime 1 1
/dev/sda5 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
/dev/sda7 /home auto defaults,noatime 1 2
--------------------------------------------------------------------------------
=================== sda6: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
6.013999939 = 6.457483264 boot/grub/menu.lst 1
6.037425995 = 6.482636800 boot/grub/stage2 2
6.037303925 = 6.482505728 boot/initrd.img 4
6.037303925 = 6.482505728 boot/initrd.img-2.6.36-1-mepis-smp 4
5.995857239 = 6.438002688 boot/vmlinuz 2
5.995857239 = 6.438002688 boot/vmlinuz-2.6.36-1-mepis-smp 2
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sdb1
00000000 eb 3c 90 44 4f 4b 30 31 2e 30 31 00 02 08 01 00 |.<.DOK01.01.....|
00000010 02 00 02 00 00 f8 f1 00 10 00 20 00 10 00 00 00 |.......... .....|
00000020 f0 83 07 00 80 00 29 0b 76 d4 2f 00 00 00 00 00 |......).v./.....|
00000030 00 00 00 00 00 00 46 41 54 31 36 20 20 20 33 c9 |......FAT16 3.|
00000040 8e d1 bc fc 7b 16 07 bd 78 00 c5 76 00 1e 56 16 |....{...x..v..V.|
00000050 55 bf 22 05 89 7e 00 89 4e 02 b1 0b fc f3 a4 06 |U."..~..N.......|
00000060 1f bd 00 7c c6 45 fe 0f 38 4e 24 7d 20 8b c1 99 |...|.E..8N$} ...|
00000070 e8 7e 01 83 eb 3a 66 a1 1c 7c 66 3b 07 8a 57 fc |.~...:f..|f;..W.|
00000080 75 06 80 ca 02 88 56 02 80 c3 10 73 ed 33 c9 fe |u.....V....s.3..|
00000090 06 d8 7d 8a 46 10 98 f7 66 16 03 46 1c 13 56 1e |..}.F...f..F..V.|
000000a0 03 46 0e 13 d1 8b 76 11 60 89 46 fc 89 56 fe b8 |.F....v.`.F..V..|
000000b0 20 00 f7 e6 8b 5e 0b 03 c3 48 f7 f3 01 46 fc 11 | ....^...H...F..|
000000c0 4e fe 61 bf 00 07 e8 28 01 72 3e 38 2d 74 17 60 |N.a....(.r>8-t.`|
000000d0 b1 0b be d8 7d f3 a6 61 74 3d 4e 74 09 83 c7 20 |....}..at=Nt... |
000000e0 3b fb 72 e7 eb dd fe 0e d8 7d 7b a7 be 7f 7d ac |;.r......}{...}.|
000000f0 98 03 f0 ac 98 40 74 0c 48 74 13 b4 0e bb 07 00 |.....@t.Ht......|
00000100 cd 10 eb ef be 82 7d eb e6 be 80 7d eb e1 cd 16 |......}....}....|
00000110 5e 1f 66 8f 04 cd 19 be 81 7d 8b 7d 1a 8d 45 fe |^.f......}.}..E.|
00000120 8a 4e 0d f7 e1 03 46 fc 13 56 fe b1 04 e8 c2 00 |.N....F..V......|
00000130 72 d7 ea 00 02 70 00 52 50 06 53 6a 01 6a 10 91 |r....p.RP.Sj.j..|
00000140 8b 46 18 a2 26 05 96 92 33 d2 f7 f6 91 f7 f6 42 |.F..&...3......B|
00000150 87 ca f7 76 1a 8a f2 8a e8 c0 cc 02 0a cc b8 01 |...v............|
00000160 02 80 7e 02 0e 75 04 b4 42 8b f4 8a 56 24 cd 13 |..~..u..B...V$..|
00000170 61 61 72 0a 40 75 01 42 03 5e 0b 49 75 77 c3 03 |aar.@u.B.^.Iuw..|
00000180 18 01 27 0d 0a 49 6e 76 61 6c 69 64 20 73 79 73 |..'..Invalid sys|
00000190 74 65 6d 20 64 69 73 6b ff 0d 0a 44 69 73 6b 20 |tem disk...Disk |
000001a0 49 2f 4f 20 65 72 72 6f 72 ff 0d 0a 52 65 70 6c |I/O error...Repl|
000001b0 61 63 65 20 74 68 65 20 64 69 73 6b 2c 20 61 6e |ace the disk, an|
000001c0 64 20 74 68 65 6e 20 70 72 65 73 73 20 61 6e 79 |d then press any|
000001d0 20 6b 65 79 0d 0a 00 00 49 4f 20 20 20 20 20 20 | key....IO |
000001e0 53 59 53 4d 53 44 4f 53 20 20 20 53 59 53 7f 01 |SYSMSDOS SYS..|
000001f0 00 41 bb 00 07 60 66 6a 00 e9 3b ff 00 00 55 aa |.A...`fj..;...U.|
00000200
topic title: Problem with Grub on external HD install
-
Posts: 12
- Joined: 03 Jun 2012
-
Posts: 15
- Joined: 28 Mar 2012
#2
To understand correctly: original internal drive is recognised in BIOS as sdb (unusual) ant the attached external drive is seen as sda ?
if that is correct, at GRUB section when you installed, you left default GRUB location untouched ? Was that MBR in sda ?
We can start from here, maybe i have 2 solutions, when i come back.
if that is correct, at GRUB section when you installed, you left default GRUB location untouched ? Was that MBR in sda ?
We can start from here, maybe i have 2 solutions, when i come back.
-
Posts: 4,164
- Joined: 20 Feb 2009
#3
Having done external usb/flash sd card installs myself.
1. Did you install grub to mbr on external usb hardrive or did you install grub to mbr on internal Hard drive on the
Is actually sda1 on the external usb hardrive. Boot up your external drive to grub screen.
Pick edit (the e key). change the line
to
hit enter or the b key to boot.
See if it boots then without a error.
1. Did you install grub to mbr on external usb hardrive or did you install grub to mbr on internal Hard drive on the
If /dev/sda1 which shows the * (which means boot flag).This installation is intended to be running on a 2003 vintage Gateway P4, so it is an old machine
Is actually sda1 on the external usb hardrive. Boot up your external drive to grub screen.
Pick edit (the e key). change the line
Code: Select all
root (hd0,5)
Code: Select all
root (hd0,0)
hit enter or the b key to boot.
See if it boots then without a error.
-
Posts: 12
- Joined: 03 Jun 2012
#4
Thanks for your responses. I thought it might be useful for me to further clarify what I tried to install, where, and how.
In order to prevent my inadvertent usage of the internal hard disk on the computer, I disconnected it before both install attempts. What you have seen described is all resident on the external hard disk. So, grub is on the external disk - somewhere. It said that it was successfully installed.
I tried to ensure that the root partition was bootable and first on the disk. This is how it got installed.
I have not made any change yet, because I expected to have to re-install something. I noticed that the first sector of sda1 started at 2048. Should that have been 0000? I am also wondering if my partition scheme was correct (sda1 as primary, then an extended partition sda2 containing swap, root sda6, and home sda7, finally another primary partition for NTFS, sda3).
Thanks again for your consideration.
In order to prevent my inadvertent usage of the internal hard disk on the computer, I disconnected it before both install attempts. What you have seen described is all resident on the external hard disk. So, grub is on the external disk - somewhere. It said that it was successfully installed.
I tried to ensure that the root partition was bootable and first on the disk. This is how it got installed.
I have not made any change yet, because I expected to have to re-install something. I noticed that the first sector of sda1 started at 2048. Should that have been 0000? I am also wondering if my partition scheme was correct (sda1 as primary, then an extended partition sda2 containing swap, root sda6, and home sda7, finally another primary partition for NTFS, sda3).
Thanks again for your consideration.
-
Posts: 4,164
- Joined: 20 Feb 2009
#5
To me. Your partition setup looks all screwed up. I am just going by what gparted is showing me.
First. Why the /boot partition? Plus it is not mounted.
2nd. Why the unallocated space before the /swap partition? I would expand /swap to fill the unallocated space.
3rd. /dev/sda6 has no label. I bet that is where you installed Antix to and with no label. No boot. You should have named/labeled it / . Boot partition is not mounted. AntiX has no label. No telling where you installed grub. No wonder it won't boot. ( I am trying to say this i a nice & friendly way, so don't take offence.)
4. Why the large ntfs partition? I can only guess you want your windows and Linux to have access to it since Windows can't access Linux file systems natively.
If me. I would starrt from scratch and delete all partitions. Make the whole drive unallocated.
I would make a 8 gig partition. Format as ext3. Label it as / . Flag it as boot. That would be my /dev/sda1 partition that I would install AntiX and grub also to as install to mbr on hardrive. The boot flag will make it bootable.
I am assuminng you know how to install AntiX home to /home also using the Mepis installer and wish to run a seperate
/home partition from /. That you know to hit the checkbox to preseve data in /home on the installer window and where the /home box is. Hit the arrow and insert /home instead of /. Screenshot is from my
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/antix-11-eeepc-900-install-finished-t3104.html"
linktext was:"eeepc install screenshot tutorial"
====================================
. Which was way more complicated to do than what you are trying to do.
So I would make a 25 gig partition next. Ext3 file system. Label it as /home.
Then I would make/size up my /swap partition next to whatever size you wish.
Now for the rest of unallocated space. I would do the extended partition next. Make the whole leftover extended.
Format it as NTFS and me. I would give it a label like Bikerdata or whatever trips your trigger.
Anyhows. That is what I would do. Good luck with it and Happy Trails, Rok
.
First. Why the /boot partition? Plus it is not mounted.
2nd. Why the unallocated space before the /swap partition? I would expand /swap to fill the unallocated space.
3rd. /dev/sda6 has no label. I bet that is where you installed Antix to and with no label. No boot. You should have named/labeled it / . Boot partition is not mounted. AntiX has no label. No telling where you installed grub. No wonder it won't boot. ( I am trying to say this i a nice & friendly way, so don't take offence.)
4. Why the large ntfs partition? I can only guess you want your windows and Linux to have access to it since Windows can't access Linux file systems natively.
If me. I would starrt from scratch and delete all partitions. Make the whole drive unallocated.
I would make a 8 gig partition. Format as ext3. Label it as / . Flag it as boot. That would be my /dev/sda1 partition that I would install AntiX and grub also to as install to mbr on hardrive. The boot flag will make it bootable.
I am assuminng you know how to install AntiX home to /home also using the Mepis installer and wish to run a seperate
/home partition from /. That you know to hit the checkbox to preseve data in /home on the installer window and where the /home box is. Hit the arrow and insert /home instead of /. Screenshot is from my
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/antix-11-eeepc-900-install-finished-t3104.html"
linktext was:"eeepc install screenshot tutorial"
====================================
. Which was way more complicated to do than what you are trying to do.
So I would make a 25 gig partition next. Ext3 file system. Label it as /home.
Then I would make/size up my /swap partition next to whatever size you wish.
Now for the rest of unallocated space. I would do the extended partition next. Make the whole leftover extended.
Format it as NTFS and me. I would give it a label like Bikerdata or whatever trips your trigger.
Anyhows. That is what I would do. Good luck with it and Happy Trails, Rok
.
-
Posts: 12
- Joined: 03 Jun 2012
#6
rokytnji (and other interested folks:
Thanks for your comments.
Your partition setup looks all screwed up. Agreed.
First. Why the /boot partition? By recommedation of this post -
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.linuxbsdos.com/2011/05/23/install-ubuntu-11-04-on-external-hard-disk/"
linktext was:"http://www.linuxbsdos.com/2011/05/23/in ... hard-disk/"
====================================
, quoted as follows.
My recommendation is to create the following four partitions:
/boot, the boot partition. This is where programs critical for booting the system will reside.
/, the root directory. The bulk of the programs used for running the system will be installed here.
Swap, unformatted disk space for use as virtual memory.
/home, the partition where your home directory will be located. In the course of using the system, files and folders you create will reside in various folders here.
I was under the impression that having all 4 of these partitions was recommended and would facilitate upgrades.
Plus it is not mounted. Because I can't get it to boot, we are looking at it via the Antix Live CD. I could mount it, but did not need to at the time.
2nd. Why the unallocated space before the /swap partition? I would expand /swap to fill the unallocated space. If we are talking about sda2 (extended) the way I understand it is that the extended partition is a container containing sda5, sda6, and sda7. My old XP box has 512 mb of memory, so I don't think I need a huge swap partition.
3rd. /dev/sda6 has no label. I bet that is where you installed Antix to and with no label. No boot. You should have named/labeled it / . I screwed this up and that's probably part of my problem.
Boot partition is not mounted. AntiX has no label. No telling where you installed grub. No wonder it won't boot. ( I am trying to say this i a nice & friendly way, so don't take offence.) No offense taken - Understand that I am a complete Linux Newbie, having only dabbled with live CD's and persistent thumbdrive installs that are not the same as a hard drive install. I need the advice.
4. Why the large ntfs partition? I can only guess you want your windows and Linux to have access to it since Windows can't access Linux file systems natively Yep.
I could not get the Gparted program in AntiX to allow me to just make logical partitions; the only way I could see to create the logical partitions was to make an extended partition to put them in.
Does any of this make sense? Please let me know.
Thanks again,
ED
Thanks for your comments.
Your partition setup looks all screwed up. Agreed.
First. Why the /boot partition? By recommedation of this post -
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.linuxbsdos.com/2011/05/23/install-ubuntu-11-04-on-external-hard-disk/"
linktext was:"http://www.linuxbsdos.com/2011/05/23/in ... hard-disk/"
====================================
, quoted as follows.
My recommendation is to create the following four partitions:
/boot, the boot partition. This is where programs critical for booting the system will reside.
/, the root directory. The bulk of the programs used for running the system will be installed here.
Swap, unformatted disk space for use as virtual memory.
/home, the partition where your home directory will be located. In the course of using the system, files and folders you create will reside in various folders here.
I was under the impression that having all 4 of these partitions was recommended and would facilitate upgrades.
Plus it is not mounted. Because I can't get it to boot, we are looking at it via the Antix Live CD. I could mount it, but did not need to at the time.
2nd. Why the unallocated space before the /swap partition? I would expand /swap to fill the unallocated space. If we are talking about sda2 (extended) the way I understand it is that the extended partition is a container containing sda5, sda6, and sda7. My old XP box has 512 mb of memory, so I don't think I need a huge swap partition.
3rd. /dev/sda6 has no label. I bet that is where you installed Antix to and with no label. No boot. You should have named/labeled it / . I screwed this up and that's probably part of my problem.
Boot partition is not mounted. AntiX has no label. No telling where you installed grub. No wonder it won't boot. ( I am trying to say this i a nice & friendly way, so don't take offence.) No offense taken - Understand that I am a complete Linux Newbie, having only dabbled with live CD's and persistent thumbdrive installs that are not the same as a hard drive install. I need the advice.
4. Why the large ntfs partition? I can only guess you want your windows and Linux to have access to it since Windows can't access Linux file systems natively Yep.
I could not get the Gparted program in AntiX to allow me to just make logical partitions; the only way I could see to create the logical partitions was to make an extended partition to put them in.
Does any of this make sense? Please let me know.
Thanks again,
ED
-
Posts: 4,164
- Joined: 20 Feb 2009
#7
Without looking at your link. I am busy uploading some backup files to the cloud presently. Let me first point out that Ubuntu now uses grub2 to boot while we are using grub legacy to boot.
2nd. You don't need a /boot partition. It just complicates things.
And I can say that the 2 partition setup has been more trouble free for me when doing kernel upgrades.
Case in point: This eeepc 900 has seperate / on one drive (4gig ssd). /home on another drive (16gig ssd). No /swap on my eeepcs because ssd drive don't like all the writes on these old phison ssd drives which will kill them prematurely vs newer solid state drives or sata drives or ide drives. These old ssd drives on these netbooks are just glorified pen drive or sd flash card drives as far as write wear can affect them.
Everytime I have tried to install a newer kernel with this setup. No boot with the newer kernel giving me a invalid
ext2 file system error.
On my eeepc 701SD: I just have / partition on my single 8gig ssd drive on it with no /swap partition either.
On kernel upgrades. No problem booting them on it.
I will be in the process later of wiping out my AntiX 11 install on my eeepc 900. I won't be doing the kind of / and /home dual drive install like I have done before. I will be installing ANTIx 12 TO JUST MY 16 gig ssd drive and and only give it a / partition. The other 4 gig drive will be just for storage (music and such).
I in my opinion say:
Go with a 3 partition setup for Antiix install like I stated above if wanting a /home outside of / .
Some folks prefer to run this way in case they break their install because they keep their /home intact while reinstalling their OS back onto / partition.
Me. I am backing up certain things to my cloud account instead of doing this route. I have already done this type of backup on my eeepc 701SD. I just never got around to doing this on the 900 yet. I am pretty much going like some other long time AntiX members here who I have talked to over the years and am just going to keep things simple with a single / partition and install grub to mbr like I told you earlier to do i my previous post. By mbr. I am saying the external hardrive. Not the internal. I like the fact that you unplugged internal hardrive first before doing your external hardrive install. That is a good way to avoid confusion when telling grub to install to the mbr.
By the way. Extended partition is like sayiing Logical partition in Windows. I think. I am not that Wiindows proficient when it comes to Microsoft Lingo (or linux lingo either __{{emoticon}}__ ). I have been Linux longer and more often than Windows. I only use Windows to tune motorcycles.
Hope my long winded post made sense to you. Like I said earlier. Delete everything in gparted to make the whole external drive unallocated empty space first. Then partition to tastes. Either 3 or 2. Then extended from there for ntfs partition.
Edit:
2nd. You don't need a /boot partition. It just complicates things.
Nope. I have been running running AntiX as a 3 partition setup : /, /home,/swap. And a 2 partition setup: /, /swap.I was under the impression that having all 4 of these partitions was recommended and would facilitate upgrades.
And I can say that the 2 partition setup has been more trouble free for me when doing kernel upgrades.
Case in point: This eeepc 900 has seperate / on one drive (4gig ssd). /home on another drive (16gig ssd). No /swap on my eeepcs because ssd drive don't like all the writes on these old phison ssd drives which will kill them prematurely vs newer solid state drives or sata drives or ide drives. These old ssd drives on these netbooks are just glorified pen drive or sd flash card drives as far as write wear can affect them.
Everytime I have tried to install a newer kernel with this setup. No boot with the newer kernel giving me a invalid
ext2 file system error.
On my eeepc 701SD: I just have / partition on my single 8gig ssd drive on it with no /swap partition either.
On kernel upgrades. No problem booting them on it.
I will be in the process later of wiping out my AntiX 11 install on my eeepc 900. I won't be doing the kind of / and /home dual drive install like I have done before. I will be installing ANTIx 12 TO JUST MY 16 gig ssd drive and and only give it a / partition. The other 4 gig drive will be just for storage (music and such).
I in my opinion say:
Go with a 3 partition setup for Antiix install like I stated above if wanting a /home outside of / .
Some folks prefer to run this way in case they break their install because they keep their /home intact while reinstalling their OS back onto / partition.
Me. I am backing up certain things to my cloud account instead of doing this route. I have already done this type of backup on my eeepc 701SD. I just never got around to doing this on the 900 yet. I am pretty much going like some other long time AntiX members here who I have talked to over the years and am just going to keep things simple with a single / partition and install grub to mbr like I told you earlier to do i my previous post. By mbr. I am saying the external hardrive. Not the internal. I like the fact that you unplugged internal hardrive first before doing your external hardrive install. That is a good way to avoid confusion when telling grub to install to the mbr.
By the way. Extended partition is like sayiing Logical partition in Windows. I think. I am not that Wiindows proficient when it comes to Microsoft Lingo (or linux lingo either __{{emoticon}}__ ). I have been Linux longer and more often than Windows. I only use Windows to tune motorcycles.
Hope my long winded post made sense to you. Like I said earlier. Delete everything in gparted to make the whole external drive unallocated empty space first. Then partition to tastes. Either 3 or 2. Then extended from there for ntfs partition.
Edit:
The unallocated space is to the left of the red /swap partition in your picture of gparted.2nd. Why the unallocated space before the /swap partition? I would expand /swap to fill the unallocated space. If we are talking about sda2 (extended) the way I understand it is that the extended partition is a container containing sda5, sda6, and sda7. My old XP box has 512 mb of memory, so I don't think I need a huge swap partition.
-
Posts: 12
- Joined: 03 Jun 2012
#8
Well, I'm back.
I decided to spend some more time (several weeks) reading about how GRUB works and how to modify it. I found several examples; some more useful than others. Along the way, I tried installing both with and without a small boot partition. After 9 installation attempts, I am still encountering the dreaded Error 18.
I have tried installing just to /, swap, and /home, as well as adding a boot partition. Error 18. The most recent installation, the second using the new Antix 12, has an empty and ignored 200mb boot partition, followed by a rock-stock install to /, flagged boot, swap, and /home. All installations were done to a clean drive, either reformatted or repartitioned.
I found instructions on how to implement a boot partition. (Two paragraphs redacted!) Tried it - Error 18.
I know that the computer sees at least the MBR on sdb; when I change the BIOS boot priority to the external drive I get the message"Grub loading stage 1.5. Error 18."
Even though I learned more about Linux and GRUB, I must still be missing something fundamental and obvious.
I really like the idea of Antix, because it seems to work on this old computer. The versions of Ubuntu over the last few years have become less functional or nonfunctional on this machine thanks to the Intel onboard graphics not playing nicely with Ubuntu. I have also tried the tiny distributions which will work but I can't get them to display an acceptable color depth. Antix seems to be the appropriate answer to my quest, if only I could get it configured right.
I can provide further information and copies of files.
Your thoughts, comments, and recommendations would be welcome. Thanks for your consideration -
Ed
I decided to spend some more time (several weeks) reading about how GRUB works and how to modify it. I found several examples; some more useful than others. Along the way, I tried installing both with and without a small boot partition. After 9 installation attempts, I am still encountering the dreaded Error 18.
I have tried installing just to /, swap, and /home, as well as adding a boot partition. Error 18. The most recent installation, the second using the new Antix 12, has an empty and ignored 200mb boot partition, followed by a rock-stock install to /, flagged boot, swap, and /home. All installations were done to a clean drive, either reformatted or repartitioned.
I found instructions on how to implement a boot partition. (Two paragraphs redacted!) Tried it - Error 18.
I know that the computer sees at least the MBR on sdb; when I change the BIOS boot priority to the external drive I get the message"Grub loading stage 1.5. Error 18."
Even though I learned more about Linux and GRUB, I must still be missing something fundamental and obvious.
I really like the idea of Antix, because it seems to work on this old computer. The versions of Ubuntu over the last few years have become less functional or nonfunctional on this machine thanks to the Intel onboard graphics not playing nicely with Ubuntu. I have also tried the tiny distributions which will work but I can't get them to display an acceptable color depth. Antix seems to be the appropriate answer to my quest, if only I could get it configured right.
I can provide further information and copies of files.
Your thoughts, comments, and recommendations would be welcome. Thanks for your consideration -
Ed
-
Posts: 850
- Joined: 26 Jul 2012
#9
Hi edmacc
I think the problem you are having is because you seem to be installing grub to an external hdd whilst it is the primary drive, & then you re attach your internal drive, which then becomes the primary drive, & your bios & grub are trying to boot from it.
If this is indeed the case, you need to change references to sda to sdb in the (/)boot/grub/menu.lst, then it should find your kernel & initrd.
Just for info: the separate /boot partition was used when the bios would not boot above 8gb, (if I remember correctly).
My prefered install setup is also one partition each for /, swap, & /home. (Sometimes no swap, dependant on how much ram is in the machine.)
HTH
I think the problem you are having is because you seem to be installing grub to an external hdd whilst it is the primary drive, & then you re attach your internal drive, which then becomes the primary drive, & your bios & grub are trying to boot from it.
If this is indeed the case, you need to change references to sda to sdb in the (/)boot/grub/menu.lst, then it should find your kernel & initrd.
Just for info: the separate /boot partition was used when the bios would not boot above 8gb, (if I remember correctly).
My prefered install setup is also one partition each for /, swap, & /home. (Sometimes no swap, dependant on how much ram is in the machine.)
HTH
-
Posts: 325
- Joined: 04 Nov 2011
#10
hallo Ed
menu.lst ??
menu.lst ??
-
Posts: 12
- Joined: 03 Jun 2012
Sorry to readers, I am having great difficulty posting to the forum for the last few days. I have a bootinfoscript results file I would like to either attach or include but keep getting 403 errors and the post fails.
-
Posts: 12
- Joined: 03 Jun 2012
#12
The concept of misconfiguring grub to look at the wrong drive eventually occured to me as well. That realization, along with my increasing confidence that I would not inadvertently trash my XP installation, led me to do all installation attempts after the 2nd with sda (the XP drive) plugged in. I should have clarified that. My apologies.
Still trying to attach a file or insert the contents, unsuccessfully so far.
sdb5 boot grub menu.lst:
timeout 10
color cyan blue white blue
foreground ffffff
background 0639a1
gfxmenu boot grub message
title antiX at sdb5, kernel 3.5.0-antix.2-486-smp
kernel boot vmlinuz-3.5.0-antix.2-486-smp root= dev sdb5 nomce quiet
nosplash nouveau.modeset=0 vga=791
initrd boot initrd.img-3.5.0-antix.2-486-smp
boot
title Microsoft Windows XP Home Edition at sda1
map (hd0)
map (hd0)
rootnoverify ,0)
chainloader +1
Boot Info Summary:
Windows is installed in the MBR of dev sda.
Grub Legacy (v0.97) is installed in the MBR of dev sdb and looks
on the same drive in partition #5 for boot grub stage2 and boot grub menu.lst.
Fdisk of sdb:
dev sdb1 2,048 411,647 409,600 83 Linux
dev sdb2 411,648 74,242,047 73,830,400 5 Extended
dev sdb5 * 413,696 29,597,695 29,184,000 83 Linux
dev sdb6 29,599,744 32,671,743 3,072,000 82 Linux swap Solaris
dev sdb7 32,673,792 74,242,047 41,568,256 83 Linux
dev sdb3 74,242,048 625,141,759 550,899,712 7 NTFS exFAT HPFS
blkid output:
Device UUID TYPE LABEL
dev loop0 squashfs
dev sda1 FA043D18043CD8F9 ntfs
dev sdb1 38b0ff6b-db5f-47c7-a235-ff16377b81cd ext3 boot
dev sdb3 370A8C0963D08D50 ntfs toshi jr
dev sdb5 87caeed2-0a54-499d-a7d6-ad91c354e6be ext4
dev sdb6 66982505-dba1-4521-ae5b-9ea298fb664a swap
dev sdb7 aa2e51fb-7e60-46e7-9fcb-a464b7a8f492 ext4
dev sr0 iso9660 antiXlive
Still trying to attach a file or insert the contents, unsuccessfully so far.
sdb5 boot grub menu.lst:
timeout 10
color cyan blue white blue
foreground ffffff
background 0639a1
gfxmenu boot grub message
title antiX at sdb5, kernel 3.5.0-antix.2-486-smp
kernel boot vmlinuz-3.5.0-antix.2-486-smp root= dev sdb5 nomce quiet
nosplash nouveau.modeset=0 vga=791
initrd boot initrd.img-3.5.0-antix.2-486-smp
boot
title Microsoft Windows XP Home Edition at sda1
map (hd0)
map (hd0)
rootnoverify ,0)
chainloader +1
Boot Info Summary:
Windows is installed in the MBR of dev sda.
Grub Legacy (v0.97) is installed in the MBR of dev sdb and looks
on the same drive in partition #5 for boot grub stage2 and boot grub menu.lst.
Fdisk of sdb:
dev sdb1 2,048 411,647 409,600 83 Linux
dev sdb2 411,648 74,242,047 73,830,400 5 Extended
dev sdb5 * 413,696 29,597,695 29,184,000 83 Linux
dev sdb6 29,599,744 32,671,743 3,072,000 82 Linux swap Solaris
dev sdb7 32,673,792 74,242,047 41,568,256 83 Linux
dev sdb3 74,242,048 625,141,759 550,899,712 7 NTFS exFAT HPFS
blkid output:
Device UUID TYPE LABEL
dev loop0 squashfs
dev sda1 FA043D18043CD8F9 ntfs
dev sdb1 38b0ff6b-db5f-47c7-a235-ff16377b81cd ext3 boot
dev sdb3 370A8C0963D08D50 ntfs toshi jr
dev sdb5 87caeed2-0a54-499d-a7d6-ad91c354e6be ext4
dev sdb6 66982505-dba1-4521-ae5b-9ea298fb664a swap
dev sdb7 aa2e51fb-7e60-46e7-9fcb-a464b7a8f492 ext4
dev sr0 iso9660 antiXlive
-
Posts: 12
- Joined: 03 Jun 2012
#13
I stripped out all of the non alphanumeric characters in order to try to get the forum software to accept the posts. Much to my surprise, it worked.
-
Posts: 4,164
- Joined: 20 Feb 2009
#14
First, if me. I would change
to
second, I would change
to
using your UUID number instead of / dev/ sdb5 works for me better.
Good luck with it and notice how I spaced the"/' so I could post the path in forum.
I have found using the pastebin site with a link to my pastebin copy and paste is
easier than dealing with editing my posts on this site.
Code: Select all
title Microsoft Windows XP Home Edition at sda1
map (hd0)
map (hd0)
rootnoverify ,0)
chainloader +1
Code: Select all
title Microsoft Windows XP Home Edition at sda1
rootnoverify (hd0,0)
chainloader +1
Code: Select all
kernel boot vmlinuz-3.5.0-antix.2-486-smp root= dev sdb5 nomce quiet
Code: Select all
kernel boot vmlinuz-3.5.0-antix.2-486-smp root=UUID=87caeed2-0a54-499d-a7d6-ad91c354e6be nomce quiet
Good luck with it and notice how I spaced the"/' so I could post the path in forum.
I have found using the pastebin site with a link to my pastebin copy and paste is
easier than dealing with editing my posts on this site.
-
Posts: 12
- Joined: 03 Jun 2012
#15
Thanks for the recommendations. I implemented both of them.
Did I need to re-install Grub to the MBR afterwards? I did not think so, so I did not.
Afterwards, I tried booting Linux from the external HDD late yesterday. My display showed the following:
GRUB Loading stage 1.5.
GRUB loading, please wait...
Error 18
My knowledge of Linux and Grub is still not adequate, but here's my analysis. My current problem is upstream of the Grub menu. Grub in the MBR is trying to load stage 1.5 or stage 2 and fails, showing an Error 18. The classic definition of Error 18 may or may not be applicable. The bootinfoscript information I have indicates that all Grub-related files are well within the 8Gb limit, so there's no reason Grub should not find them - unless it does not have the right hardcoded address. I have done a bit of bit twiddling in my time but I'm not quite prepared to alter the MBR yet, although I do have a binary file of the current contents. I am looking for a simpler alternative.
regards,
Ed
Did I need to re-install Grub to the MBR afterwards? I did not think so, so I did not.
Afterwards, I tried booting Linux from the external HDD late yesterday. My display showed the following:
GRUB Loading stage 1.5.
GRUB loading, please wait...
Error 18
My knowledge of Linux and Grub is still not adequate, but here's my analysis. My current problem is upstream of the Grub menu. Grub in the MBR is trying to load stage 1.5 or stage 2 and fails, showing an Error 18. The classic definition of Error 18 may or may not be applicable. The bootinfoscript information I have indicates that all Grub-related files are well within the 8Gb limit, so there's no reason Grub should not find them - unless it does not have the right hardcoded address. I have done a bit of bit twiddling in my time but I'm not quite prepared to alter the MBR yet, although I do have a binary file of the current contents. I am looking for a simpler alternative.
regards,
Ed