Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Having Problems Installing A Slax Based Distro, Hard drive configuration
JCoyne
post Sep 18 2005, 01:13 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



I am new to linux and I am trying to install a SLAX based distro to hard drive. I have the distro copied to /hda1 according to the install instructions. When I boot the distro from CD, the distro mounts the /dev/hda1 to /mnt/hda1, I can see all the files are there but if I reboot without the CD it doesn't boot, just a flashing underscore. I can boot back up with the CD, use fdisk /dev/hda, then the p command and it tells me my partition is not bootable, I use the a command, then the w command and I get: errror 16: device or resource is busy. If I run fdisk again and use the p command, it now shows the drive as bootable, but when I restart (with the CD out) all I get is a flashing underscore again. Can someone point me in the right direction?
Go to the top of the page
 
+Quote Post
michaelk
post Sep 18 2005, 07:33 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Can you post a link to the intructions you are following?

Did you install lilo i.e. the bootloader?

linux does not care about the partition boot flag.
Go to the top of the page
 
+Quote Post
JCoyne
post Sep 18 2005, 09:40 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



fdisk /dev/hda

mke2fs /dev/hda1

mkdir /mnt/hda1

mount /dev/hda1 /mnt/hda1

cp --preserve -R /{bin,dev,etc,home,lib,root,sbin,usr,var,opt,pentest,boot} /mnt/hda1

mkdir /mnt/whax/{proc,sys,tmp,mnt}

cp /boot/boot/vmlinuz /mnt/hda1/boot/

chroot /mnt/hda1

mount -t proc /proc proc

edit lilo.conf

execute lilo -v
Go to the top of the page
 
+Quote Post
JCoyne
post Sep 18 2005, 09:50 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



I went back and re-ran lilo -v, it gives me the following error:

Fatal: Creat /boot/map~: Read-Only File System
Go to the top of the page
 
+Quote Post
michaelk
post Sep 19 2005, 07:28 AM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Did you edit lilo for read/write
http://slax.linux-live.org/forum/viewtopic...tall+hard+drive
Then run lilo
Go to the top of the page
 
+Quote Post
JCoyne
post Sep 19 2005, 04:50 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



/etc/lilo.conf has the following

boot = /dev/hda
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda
label = linux
read-write
# Linux bootable partition config ends

I run lilo -v and it says:

Fatal: creat /boot/map~: Read-Only file system

I run lilo -M /dev/hda and it says:

Fatal: creat /boot/boot.0300: Read-only file system

I go back and double check /etc/lilo.conf and it is as above.

wacko.gif
Go to the top of the page
 
+Quote Post
JCoyne
post Sep 19 2005, 05:29 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



Ok, I am an idiot. I was getting /etc/lilo.conf confused with /mnt/hda1/etc/lilo.conf

Once I chroot /mnt/hda1, then mount -t proc /proc proc, then edit /etc/lilo.conf (really /mnt/hda1/etc/lilo.conf) then lilo -v it wrote the bootloader.

Now here is my next problem:

After I boot the hard drive, lilo loads (thank god) and I can choose Linux and it begins to boot. Then it stops on

XFS: Bad magic number
XFS: SB validate failed
Kernel Panic - not syncing: VFS: unable to mount root fs on unknown-block(3,0)

Does this mean I formated with the wrong file system?
Go to the top of the page
 
+Quote Post
JCoyne
post Sep 19 2005, 10:04 PM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 18-September 05
Member No.: 5,528



You can close this ticket.

I had root = /dev/hda in my /etc/lilo.conf when it should have been /dev/hda1
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 08:15 AM