Problem installing ArchLinux from hdd partition
I have a SATA drive mounted on a VIA Epia motherboard, but no CD drive, which is why I install directly from hdd.
Currently I have Zenwalk running, which only has Lilo (no grub even in the repos!!!). I copied to contents of the install ISO to a new ext3 partition and used the following entry in lilo (taken from this guide):
image=/root/tmp/isolinux/vmlinuz
label=ArchInstall
initrd=/root/tmp/isolinux/initrd.img
append="root=/dev/sda4 BOOTMEDIA=cd"
But it doesn't boot properly. It says:
::Initramfs Completed - control passing to kinit
IP-config: no devices to configure
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
kinit: Mounted root (ext3 filesystem) readonly.
kinit: init not found!
Kernel panic - not syncing: Attempted to kill init
..and before all that it complains that it doesn't find anything new in /config and /packages, but these directories aren't suppose to exist, I guess, because they don't on the original iso?
Anyways, it looks like it's mounting /dev/sda4, but then dies because the init part isn't found. I had a problem with lilo warning me that the init ram image was too large, but then I added the "large-memory" option to lilo.conf and it stopped complaining.
Thanks for reading,
Benjamin
I found a solution!
Aparently syslinux is very good for booting anything made with isolinux. I think it's pretty universal. So what you do is simply to mount the iso, copy the contents to a fat 16 partition, rename the isolinux.cfg to syslinux.cfg and then run syslinux on the partition. It's described on this blog:
http://www.elfenbeinturm.cc/2007/08/09/ … kpad-x60s/
/ Benjamin
Similar Messages
-
Problem installing archlinux from pendrive
I downloaded archlinux-2010.05-core-i686.iso.
I unmounted the pendrive and ran
dd if=archlinux-2010.05-core-i686.iso of=/dev/sda
What would i do now?
I set up bios boot option to usb but it doesn't work.Closed. See http://bbs.archlinux.org/viewtopic.php?id=99281
-
[SOLVED] Install archlinux from a archlinux system -system not booting
Hey there,
I am trying to install a fresh archlinux system from within an existing archlinux installation. -- I really hope to get help here, I am clueless.
Theoretically this could be posted in the newby section but I think my problem is more special and it's not my first archlinux installation at all.
The facts:
I am renting an ovh server (kimsufi.com) and I want to install archlinux without their special ovh features.
The rescue system (debian) don't let me install archlinux (pacstrap error -> "mount: mount point /mnt/dev/pts does not exist"). Same as here -> https://bbs.archlinux.org/viewtopic.php?pid=1231074
Because of that I install archlinux over the webinterface and then I want to install archlinux on another partition.
The problem:
The archlinux system from ovh is working, it is booting fine. My freshly installed system looks to don't boot at all.
There are no logs in /var/log (no dmesg etc.) so I think that it doesn't past grub.
I am clueless what I can do to get it to boot.
What I have tried...
"Pretty everything" I would say but this doesn't help anyone.
pacman -Syu linux mkinitcpio grub <- to be sure everything is installed.
-- Openssh is installed and configured, network is configured, fstab is correct, openssh and netctl is on autostart with systemctl.
mkinitcpio -p linux <- everything ok
grub-mkconfig -o /boot/grub/grub.cfg <- that's also fine
grub-install --recheck /dev/sda <- no problems so far
That's all, I hope I haven't forgotten anything.
Partitions:
Device Boot Start End Blocks Id System
/dev/sda1 4096 526335 261120 83 Linux <--- /boot of the ovh system
/dev/sda2 526336 19398655 9436160 83 Linux <--- / of the ovh system
/dev/sda3 * 19398656 20445183 523264 83 Linux <--- /boot of the fresh system
/dev/sda4 20445184 26736639 3145728 5 Extended
/dev/sda5 20447232 26736639 3144704 83 Linux <--- / of the fresh system
The bootflag is ignored because grub is installed into MBR.
Please post any ideas, I don't know what I may have forgotten.
Last edited by lookingaty (2014-02-14 21:24:39)Since it's a server by ovh/kimsufi, I am not able to see what's going on with grub. (I have no idea how to diagnose that problem.)
The grub.cfg seems to be correct.
I tried it again without an extended partition, every partition are primary ones. Still no logs.
Device Boot Start End Blocks Id System
/dev/sda1 2048 526335 262144 83 Linux <--- /boot of both systems (only grub.cfg changes)
/dev/sda2 526336 19398655 9436160 83 Linux <--- / of the ovh system
/dev/sda3 19398656 25690111 3145728 83 Linux <--- / of the fresh system
At the moment the grub.cfg points to the OVH archlinux, not the freshly installed one.
I have modified that file by hand to OVH archlinux (sda2; UUID changed of course). OVH archlinux boots.
I can run grub-mkconfig -o /boot/grub/grub.cfg with the fresh system in arch-chroot again but it won't help.
But I can still do this and post it here.
My grub.cfg:
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 bdf22a6f-cc53-41bc-a539-681a16bad2d2
else
search --no-floppy --fs-uuid --set=root bdf22a6f-cc53-41bc-a539-681a16bad2d2
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_archlinux ###
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 057c8a71-6eab-4093-80e6-3191386697ff
else
search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 057c8a71-6eab-4093-80e6-3191386697ff
else
search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
initrd /initramfs-linux-fallback.img
### END /etc/grub.d/10_archlinux ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 057c8a71-6eab-4093-80e6-3191386697ff
else
search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 057c8a71-6eab-4093-80e6-3191386697ff
else
search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ### -
How to install archlinux from pendrive/usb?
I downloaded archlinux-2010.05-core-i686.iso.
I unmounted the pendrive.
Would i format the pendrive with ext3/ext4 or fat32 or fat16 format?
After that i would do dd if=archlinux-2010.05-core-i686.iso of=/dev/sda
If i use unetbootin, should i format the pendrive with ext3/ext4 or fat32 or fat16 format?
Has anyone used unetbootin to install archlinux from pendrive/usb?jasonwryan wrote:I'm pretty sure all of your questions are answered on the wiki: http://wiki.archlinux.org/index.php/Ins … lash_drive
I did:
dd if=arch.iso of=/dev/sda
But after setting bios boot option to usb and reboot,it's not booting from usb.
What's the problem?
I get the normal grub menu.
Last edited by cola (2010-06-17 09:49:34) -
Problem installing Mavericks from my recovery partition of my computer
I don't know what's going on but for some reason each and every time I try to install mavericks from my recovery partition I get an error saying "OSX Mavericks failed to download" , then the text underneath that said "Use the purchases page to try again". This creates a problem for me because I can not access the Mac AppStore since I whipped my MacBook clean with the os along with it and am trying to clean install mavericks. So I was wondering how do I fix this because I am beginning to get extremely ****** off and frustrated.
Hi
I want to install mac osx Mavericks on a seagate internal raw hard . I downloaded "RecoveryDiskAssistant" and install it in a usb drive, before installing I made partition for new harddisk , and I stadted to install it through internet without problem,
But after 10% it says: ""Use the purchases page to try again"" . and after clicking okey it`s installing bar doesnt go forward(Most comments which I found was about app strore but in this step I have no access to app store) . could you please help me what to do? -
Problem installing archlinux on macbook pro retina
Currently i don't have ethernet cable but i would like to install archlinux on my macbook machine. I face a problem that i will need to install broadcom-wl or broadcom-wl-dkms, on either case i will need linux-headers for that kernel which seems missing in bootable archlinux made from archlinux-2014.06.01-dual.iso. Now linux-header package available in repository is new version i.e linux-headers-3.15.1-1-x86_64.pkg.tar.xz. I don't know how can i enable my wireless driver and install archlinux? Why installation media is so abstract that it is very difficult without internet. Is there some good iso file available and i am not sure about manjaro distribution having their own repository.
Thanks for your response. I have downloaded the files from base-devel group and i can install them but I am not able to install linux-headers for particular kernel in bootable usb as i will need to build broadcom-wl from AUR first. Can i install all files in hard disk without using
pacstrap -i /mnt base base-devel
safely. -
hello. my computer currently dual-boots fedora 11 and vista. on it, i currently have the following configuration of partitions: a vista partition, a partition where i store data so that i can access from fedora and vista, and the 2 partitions that fedora creates.
my latest exploit of free time has been installing archlinux on my computer. so far this has been a failure.
i would really appreciate some help.
on the fedora forum, it was suggested that since i have 4 primary partitions, of which 1 is an extended partition with one of fedora's logical drives. i created unallocated space within the extended partition, but arch's setup partitioning tool does not recognize the distinction of unallocated space and the logical volume in the extended partition. i've also tried to make a new logical volume with the unallocated space but arch's partitioning tool pops out an error saying that my 2 logical drives overlap or something and refuses to go on. a screen-shot of my current partition configuration is here: http://forums.fedoraforum.org/attachmen … 1252377966
another thing is that i'd like to keep fedora's grub once i have arch installed.
i'm at a complete loss i would really appreciate help.
Last edited by The Mishanator (2009-09-08 17:49:47)Under Fedora check gparted for your partitions list and labels. Or under Winx>Admin>Disk Mgt would show partions too. Write that info down. Windows is (almost)always in a primary partion. I would expect one HD to have 1)win partion with grub in mbr 2)data partition 3)root partion and 4) linux swap. The swap may be before the root one. 2HDs would be different. You can either shrink the 1)win. partition or the 3)root partition(preferred and safer) to create another root partition for Arch and use Fedora's grub and swap. Having the 2-4 partitions as logical ones in an extended partition would be best and safest.
Four primary partitions would be a different kettle of fish. Be sure before doing any partition changing.
Gparted comes on a live cd to make setting up partitions easier before installing Arch. The Fedora install/live cd can also create the partitions. Partition Magic would also work. Good luck:) -
Install archlinux from another linux system...
I have a dedicated server and I want to install archlinux in it.
I have the option to do a netboot to access to my server from the "outside" and I installed debian several times usind debootstrap from the netboot.
I've tried to do the same with arch following this guide http://wiki.archlinux.org/index.php/Ins … ting_Linux , but I've stumbled upon some problems...
1) I can't copy pacman binaries to the bin folder, since it is read-only
2) when I try to run pacman from its temp folder I get this:
root@rescue:/# /tmp/archlinux/usr/bin/pacman.static -Sy base -r /newarch/
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirror.lividpenguin.com : No address record
error: failed to update core (No address record)
error: failed retrieving file 'extra.db.tar.gz' from mirror.lividpenguin.com : No address record
error: failed to update extra (No address record)
error: failed retrieving file 'community.db.tar.gz' from mirror.lividpenguin.com : No address record
error: failed to update community (No address record)
error: failed to synchronize any databases
What should I do?
Thanks in advance.http://wiki.archlinux.org/index.php/Ins … ost_system
you have to install the required files, like mirrorlist to /etc/pacman.d/mirrorlist
Last edited by wonder (2009-11-27 20:31:42) -
How do I create an install disk from recovery partition to install on a blank hd
So, my hard drive is slowly dying . . . about all I'm able to access is the recovery partition. I bought a new hard drive to replace it, but no longer have the install disks that came with the computer. How do I make install disks from the recovery partition that I can use to install Mountain Lion back onto the new hard drive?
You have two possibilities:
1. Open App Store > Purchases and download Mountain Lion. When the download has finished, open Lion Diskmaker to make a bootable Mountain Lion USB drive > http://blog.gete.net/lion-diskmaker-us/
2. Download Recovery Disk Assistant from the Support website to create a Recovery HD on your USB drive.
The difference between them is that the first contains OS X Mountain Lion, so you won't have to download Mountain Lion from the App Store when you are going to install Mountain Lion -
Problem installing 0SALES_UNIT from Business Content
Dear Friends,
I have tried to install 0SALES_UNIT from the business content but it does not appear under the InfoObjects tab.
What could be the problem?
When i try to install it, the system shows that an active version of the object already exists. I have tried to install it inspite of the existing active version and also get a green signal. Thanks for all the help in advance.
RajRaj,
Here is the solution to this problem.
You have successfully activated the infoObject but do not see it under the infoObject list. This happens due to inconsistencies in the RSDIOBCIOBJ table. To solve this error, go to SE37 and execute the RSDG_IOBC_REORG function module. Put in the following parameters.
I_IOBJVERS -
> A
I_PROGRESS -
>
I_IOBJTP -
> *
I_ALL_IOBJ -
> X
I_T_IOBJNM -
>
I_BYPASS_BUFFER-->
Press F8 to execute.
Then go to RSA1 and you should find your infoObject.
Don't forget to assign points!!!
Abdul -
How to Install ArchLinux from harddriver???
I have downloaded iso image files from Internet. I want to install it from hard driver. How to do it? and where are the vmlinuz and initrd files?
I suppose you can do:
mount -o loop /path_to_.iso /mnt/cdrom
but this would have to be on a secondary HDD otherwise I'm not sure of the outcome, since you would be writing to the same target as your source.
All files you need will be in the iso.
R -
I had a problem installing Safari from my install disc
Hi,
A few days ago I posted a message that the Safari download would not recognize that I had 10.5.5 on my machine, and someone suggested that I re-install it from the discs that came with it. I did install something but apparently not Safari. I don't want to open up the Leopard re-install because I don't need Leopard, I just want the Safari, so now what do I do?
ThxWelcome To Discussions SHRiley!
Is this the Mac OS X 10.5.5 Combo Update. you are using?
If not, download that.
Run Repair Permissions.
Install that Combo Update.
Again run Repair Permissions.
ali b -
Problem installing stuff from software pack N95, m...
Hi,
I bought a Nokia N95 few days ago.
I have success fully installed PC suite.
But,
when I try to install stuff from the "Software Pack CD" it gives me error about missing "MSVCR80.dll".
Can some one tell me how to fix.
I went back to the shop and got the CD changed, but it didn't help.
Also please tell me how can I use Navigation on N95. Do I have to buy the liscence from nokia or there is some other way.Hi lafanter
Is your Windows NET 2.0 or 3.0 Framework OK?
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
Installing Win7 from unallocated partitions in HDD
I've have had my GS560 laptop for about 10 days and have been trying to 'personalise' it - mainly to have 'My documents'
(or its Win7 equivalent) to operate from the 'D'drive. Foolishly I did not make a recovery disk at this stage. The result now is that the 'Desktop' is also located on the 'D' drive and that's not what I want.
Since I did not get a copy of Win7 OS on discs, then I am led to believe that the Win7 is on two unallocated partitions on HDD.
Is this so ? and if so, can a 'luddite' like me reinstall Win7 and start all over again?
There is no data on the laptop yet.
Can anybody help?Yes, I think so.
Any way to re-trace your steps, and put it back
on C? May make things worse!
Win 7 does not have the same file layout
as XP for instance. Documents folder is just a "link" to
the real one, which is at C:\Users\Username\Documents.
Not sure how to help fix it from here, as I can't imagine what
you did. -
Problems installing CS5 from an external HDD
I'm having issues installing CS5 on to my win 7 laptop. CS5 was loaded onto my external HDD by the administrator at my workplace; when I attempted to install it, it seemed to be going fine until it asked me to 'insert disk 2' to continue. I tried to mount the iso image file but the couple of programs I tried didn't allow me to do so. CLONE DVD2 seemed to be working up to the point of burning the DVD but the file was too big to fit on a DVD. Can I mount the ISO and open it without burning it, if so, using what software?
IsoBuster, WinRAR, 7zip all can mount or open ISO images. The severity of your problem makes me think that the image is damaged, though, which could even mean that the original DVD was damaged and thus wrong CRC info ended up on the ISO...
Mylenium
Maybe you are looking for
-
Accessing a Item master from across multiple operating units
HI, We have created two operating units and two inventory org's. we have created an item in teh item master and assigned to the inventory org. now we have a scenario. one inventory org belongs to one OU and another inventory belongs to another OU. i
-
Hi All, need suggestions for tuning a query failing with the error "Rollback segment too small; snapshot too old". The query is taking a long time to run.
-
Hi, I am trying to call a plug-in in my existing java code. I have added the JAR to library. Basically, I need to establish connectivity to another server and insert data in that database. This is handled by a plug-in "BOPlgin.jar". I have imported t
-
Hi, I have 11.5.10.2 on linux. My database version is 9.2.0.8. How can I make my database 10g, is it safe to upgrade database? I can have any issue in future?
-
Related to reading font in swing application.
Hello friends, I show a pdf file consists of hindi font/text through my swing application.When this pdf file is opened directly in acrobat reader,all fonts related to this pdf are displayed but when this pdf file is displayed through my application t