You are not logged in.

#1 2011-09-25 11:55:37

xD
Member
Registered: 2011-09-25
Posts: 19

Problem with Install on External HardDrive!

Hello, first time poster. I'm not a noob to Linux, but I am to Arch, since this is my first install. Anyway, I thought everything had gone well, I changed the BIOS to boot straight into my External HD, and it worked, I thought great. Hit enter and went through to the entry in GRUB for Arch, hit enter again, but then.... (obviously I cannot Copy and Paste), but an error along the lines of Kernel <linuz-....> something like that, could not load the file.

If you need any more info, I'll write it down, and type it up here.

Cheers big_smile

Offline

#2 2011-09-25 12:09:41

null
Member
Registered: 2009-05-06
Posts: 398

Re: Problem with Install on External HardDrive!

Obviously we need at least the kind of error message, like "file not found" or some other reason, why the file (I guess the kernel?) couldn't be loaded. And Your grub entry + partition table would be nice.

Offline

#3 2011-09-25 12:11:15

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

post
menu.lst
fstab


not knowing what they all are couldnt say but I'd look to make sure in menu.lst that hd(0,0) is correct  kernel line has proper root
also /etc/mkinitcpio  hooks usb is before pata scsi sata whatever else it used to be donr know if it still is if the hook got loaded for other interface that one got the sda slot weather ide sata or scsi then your usb would get sdb or next letter after your internal drives
the bios may put it at disk0 but initrd can change that

Offline

#4 2011-09-25 12:11:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with Install on External HardDrive!

What's your setup, there did you put grub and the kernel image?
Post the output of 'fdisk -l' and your menu.lst.

Edit: nwm, too late :-)

Last edited by karol (2011-09-25 12:11:59)

Offline

#5 2011-09-25 12:15:06

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

Hello all, and thanks for the speedy replies. I am going to do that now (booted up into Fedora at the moment). So, menu.lst and fstab.

Offline

#6 2011-09-25 12:26:03

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

Anyway, when I say I am a noob here, I really am. In other Distros, I'd consider myself above average in technical knowledge, so bear with me here.

Right, the full file that it can't find is: Kernel /vmlinuz-linux root=dev/disk/by-uuid/isthissystemrelevantanddangerous?><samehere? ro (File not Found is the error).

obviously those two parts of it are not in the filename.

How do I manage to get /etc/fstab and /etc/menu.lst, considering that I am immediately greeted with GRUB, and the Command Line there doesn't let me nano /etc/fstab or even /etc/fstab or anything?

Last edited by xD (2011-09-25 12:27:45)

Offline

#7 2011-09-25 12:34:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with Install on External HardDrive!

xD wrote:

How do I manage to get /etc/fstab and /etc/menu.lst, considering that I am immediately greeted with GRUB, and the Command Line there doesn't let me nano /etc/fstab or even /etc/fstab or anything?

I think the easiest way for you would be with a liveCD / liveUSB.

Offline

#8 2011-09-25 12:34:52

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

xD wrote:

Anyway, when I say I am a noob here, I really am. In other Distros, I'd consider myself above average in technical knowledge, so bear with me here.

Right, the full file that it can't find is: Kernel /vmlinuz-linux root=dev/disk/by-uuid/isthissystemrelevantanddangerous?><samehere? ro (File not Found is the error).

obviously those two parts of it are not in the filename.

How do I manage to get /etc/fstab and /etc/menu.lst, considering that I am immediately greeted with GRUB, and the Command Line there doesn't let me nano /etc/fstab or even /etc/fstab or anything?

well you could mount them from fedora if its in the same box
but if that is indeed your kernel line  there should be a "/" before dev/disk....   heres mine

kernel /boot/vmlinuz-linux root=/dev/sda2 ro  vga=773  
initrd /boot/initramfs-linux.img

change your root to /dev/sdX#  where X & # represent your install
at grub choice hit "e" to edit the lines when your in change it to what worked

Offline

#9 2011-09-25 12:40:41

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

Okay, before I go any further, here is Fstab:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
UUID=7a08806a-d960-4bbe-87f3-8472943c08f3 /boot ext2 defaults 0 1
UUID=92b1e497-7b9c-4bb4-804d-0181c21b2ea6 swap swap defaults 0 0
UUID=950337fa-11ab-4de7-8d98-7272e83c57fd /home ext4 defaults 0 1
UUID=cf161fda-e405-46a2-a245-c0c395d4991c / ext4 defaults 0 1

and menu.lst:

color light-blue/black light-cyan/blue
hiddenmenu
timeout @@TIMEOUT@@
default 0

title Show Installation notes again
cat (cd)/boot/boot.msg
pause Press any key to continue

title Arch Linux Installation / Rescue System
root (cd)
kernel /boot/vmlinuz @@KERNEL_BOOT_OPTIONS@@
initrd /boot/initrd.img

title Arch Linux Installation / Rescue System (ide-legacy)
root (cd)
kernel /boot/vmlinuz ide-legacy @@KERNEL_BOOT_OPTIONS@@
initrd /boot/initrd.img

title Memory Check
root (cd)
kernel /boot/memtest

title Boot installed system (/boot on the same partition as /)
root (hd0,0)
kernel /boot/vmlinuz26 ro root=/dev/sda1
initrd /boot/kernel26.img

title Boot installed system (/boot on a separate partition)
root (hd0,0)
kernel /vmlinuz26 ro root=/dev/sda3
initrd /kernel26.img

Last edited by xD (2011-09-25 12:41:56)

Offline

#10 2011-09-25 12:43:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with Install on External HardDrive!

root (cd)
@@KERNEL_BOOT_OPTIONS@@

What's this?

Is this the Fedora fstab or the Arch one?

Last edited by karol (2011-09-25 12:48:25)

Offline

#11 2011-09-25 12:53:59

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

This is all the Arch one. Arch is on an external harddrive, which I mounted in Fedora, and opened the menu.lst and fstab files up from, using the Text Editor in Fedora.

Offline

#12 2011-09-25 12:58:15

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

from fedore post
fdisk -l
tell us what partition arch is on

Offline

#13 2011-09-25 13:03:30

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

Basically, Fedora is on the Internal HD, and Arch is on an Ext HD.

So Arch is /dev/sdbx - shall I mount the Ext HD, but how will I be able to fdisk -l then?
I'm using 0.97 Legacy GRUB.

Offline

#14 2011-09-25 13:11:39

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

xD wrote:
title Arch Linux Installation / Rescue System
root (cd)
kernel /boot/vmlinuz @@KERNEL_BOOT_OPTIONS@@
initrd /boot/initrd.img

change this to

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz-linux root=/dev/sdX#  ro  vga=773  
initrd /boot/initramfs-linux.img

change the hd(0,0) & root=/dev/sdX# to match where your install is

Offline

#15 2011-09-25 13:15:20

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

Cheers for all the help. Would my install be at the point where home and boot and dev and etc and bin are?

And how would I find out about what I should change hd(x,x) to?

Last edited by xD (2011-09-25 13:17:17)

Offline

#16 2011-09-25 13:22:02

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

from fedora with usb drive plugged in
login as root & run
fdisk -l
this will list all partitions & other info
post it here & tell us on what partition/s arch resides
then we can tell you what to put where

Offline

#17 2011-09-25 13:26:25

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

(I keep getting Authentication failures while logging in as root, so I just sudoed it, and it appears to have worked.)

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ed9e2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       47595   382300102   83  Linux
/dev/sda2           59853       60802     7617536   83  Linux
/dev/sda3           59790       59853      512000   83  Linux
/dev/sda4           47595       59790    97955841    5  Extended
/dev/sda5           47595       59375    94625792   83  Linux
/dev/sda6           59375       59790     3329024   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5b6ac646

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          64      514048+  83  Linux
/dev/sdb2              65         587     4200997+  82  Linux swap / Solaris
/dev/sdb3             588        1893    10490445   83  Linux
/dev/sdb4            1894       19457   141082830   83  Linux

NOTE: I RAN:

 sudo fdisk -l >info.txt

and found it in my home folder, if this helps.

Last edited by xD (2011-09-25 13:27:44)

Offline

#18 2011-09-25 13:27:41

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

on which partition does arch live

Offline

#19 2011-09-25 13:31:52

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

rayjgu3 wrote:

on which partition does arch live

sdb1 is the boot partition. (has grub and memtest86+ etc on it)
sdb2 is swap.
sdb3 has bin, boot, home, etc, usr, sys, temp
sbd4 is empty bar lost+found.
There is 2.49Mb of free space.

Offline

#20 2011-09-25 13:40:41

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

xD wrote:
rayjgu3 wrote:

on which partition does arch live

sdb1 is the boot partition. (has grub and memtest86+ etc on it)
sdb2 is swap.
sdb3 has bin, boot, home, etc, usr, sys, temp
sbd4 is empty bar lost+found.
There is 2.49Mb of free space.

this should work put this in arch /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773  
initrd /boot/initramfs-linux.img

providing when you use boot menu from bios you select usb

Offline

#21 2011-09-25 13:47:55

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

rayjgu3 wrote:
xD wrote:
rayjgu3 wrote:

on which partition does arch live

sdb1 is the boot partition. (has grub and memtest86+ etc on it)
sdb2 is swap.
sdb3 has bin, boot, home, etc, usr, sys, temp
sbd4 is empty bar lost+found.
There is 2.49Mb of free space.

this should work put this in arch /boot/grub/menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773  
initrd /boot/initramfs-linux.img

providing when you use boot menu from bios you select usb

Fedora doesn't have the necessary permissions to be doing this. Also, I selected this Ext HD as a HD (it was detected as a HD).

I loctated vmlinuz on sdb1? If that helps?

Last edited by xD (2011-09-25 13:52:02)

Offline

#22 2011-09-25 14:00:08

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

can you mount /dev/sdb1?
sudo nano /where/sdb1is/grub/menu.lst
 

go to bottom of file enter
#  Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773 
initrd /boot/initramfs-linux.img

cntrl-x  to close file hit y to say yes to save it enter again should bring you back to prompt
reboot & try to boot new entry
if nano does not come on fedora use whatever text editor you can
or write it down reboot to usb
when you get to grub hit e to edit the entries you will need to edit each line so as to match

1 root   (hd0,2)
2 kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773 
3 initrd /boot/initramfs-linux.img

once it is booted up change your menu.lst
nano /boot/grub/menu.lst

Offline

#23 2011-09-25 14:15:00

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

The file is read only in Fedora? How shall I get to edit it?

Offline

#24 2011-09-25 14:18:17

xD
Member
Registered: 2011-09-25
Posts: 19

Re: Problem with Install on External HardDrive!

I found this as well:

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux Primary
title  Arch Linux
root   (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/cf161fda-e405-46a2-a245-c0c395d4991c ro
initrd /initramfs-linux.img

# (1) Arch Linux Fallback
title  Arch Linux Fallback
root   (hd1,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/cf161fda-e405-46a2-a245-c0c395d4991c ro
initrd /initramfs-linux-fallback.img

Offline

#25 2011-09-25 14:29:37

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem with Install on External HardDrive!

rayjgu3 wrote:

can you mount /dev/sdb1?
sudo nano /where/sdb1is/grub/menu.lst
 

go to bottom of file enter
#  Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773 
initrd /boot/initramfs-linux.img

cntrl-x  to close file hit y to say yes to save it enter again should bring you back to prompt
reboot & try to boot new entry
if nano does not come on fedora use whatever text editor you can
or write it down reboot to usb
when you get to grub hit e to edit the entries you will need to edit each line so as to match

1 root   (hd0,2)
2 kernel /boot/vmlinuz-linux root=/dev/sda3  ro  vga=773 
3 initrd /boot/initramfs-linux.img

once it is booted up change your menu.lst
nano /boot/grub/menu.lst

reread this

Offline

Board footer

Powered by FluxBB