Slackware :: Lilo Multiboot And Initramfs - Mounting True Root Device
Apr 13, 2011
Recently I installed a Linux distro (Pardus) which boots using initramfs. I am completely novice here. In the former configuration I used lilo to boot OpenBSD, Debian and W2k (it is easy for me to configure lilo to boot OpenBSD). But initramfs is a something completely new for me. As I understand it is a virtual file system with a standard directory tree and the information stored on that system is used (to boot the kernel?) to mount the true (physical) root device. The first question is how to properly describe a system (kernel image) booted with initramfs in the lilo.conf.
View 7 Replies
ADVERTISEMENT
Feb 19, 2011
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory]
[mount: mounting /dev /root/sys failed: no such file or directory]
[mount: mounting /dev /root/proc failed: no such file or directory]
[code]...
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
View 3 Replies
View Related
Jun 21, 2010
ubuntu 9.10 is not booting shows Gave up waiting for root device.", (initramfs). how to boot normally from this problem. The problem is coming from installed system.
View 2 Replies
View Related
Mar 14, 2010
I look after some small office where computers run ubuntu. Sometimes they phone me for help. For that reason, I decided to install ubuntu alongside with my slack.I seem to have problems with lilo configuration. Ubuntu is installed on software raid :
/boot = md0 (raid 1 of sda1+sdb1)
/ = md1 (raid 0 of sda2+sdb2)
That's lilo.conf:
Code:
append=" vt.default_uft8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
[code]....
Code:
Fatal: open /vmlinuz-2.6.31-9-rt: No such file or directory
I can mount md0 without problems and the file name seems to be correct.
View 3 Replies
View Related
Jun 13, 2010
With the continued growth of SATA devices, I have really been having problems with my boot loader. In the old days, it was pretty easy to make sure that the IDE devices stayed put. However, now everything is an sd device. Specifying a root directory of /dev/sda1 in lilo is no longer a sure thing. If you have a USB device plugged in or an ESATA device, your sd devices are no longer guaranteed to stay put.In reading through the lilo documentation, it appears that you can specify root devices by UUID or even by LABEL.
View 10 Replies
View Related
Jan 22, 2010
An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:
Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
[code]....
I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:
sudo mount -t ext3 -o rw /dev/hda1 /mnt
I get the following error:
mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so
I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :
[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)
[code]...
Update: After running e2fsck -p /dev/sda1, I get the following info:
/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks
View 1 Replies
View Related
Oct 26, 2009
I was looking at the root filesystem folder for mounting a device when I noticed extra folders. I'm using an encrypted filesystem so I'm not sure if it's that, a break in or the default Red Hat layout. I searched these forums and Google to no avail on extra folders. The root system contains the following:
bin {fda00e13-8c62-4f63-9d19-d168115b11ca} media opt selinux usr
boot home misc proc srv var
dev lib mnt root sys
etc lost+found net sbin tmp
View 3 Replies
View Related
Mar 30, 2010
when I login as a user and went to KDE environment, I wasn't able to mount a device because access was denied. What is the best way to achieve this?
View 2 Replies
View Related
Mar 14, 2009
How can I use Lilo with Fedora with a true way ?I tried some disros with a Pentium 4 machine and SATA harddrive which not accepted GRUB some times, but lilo is working fine.
View 11 Replies
View Related
Jul 4, 2011
I just did a full install of Slackware64 on my netbook. Everything was sweet until I tried switching to the generic kernel. Even before this, I noticed when I ran the mount command it listed not sda3, which really is the root partition, but /dev/root as the root partition. This also appears in mtab, but not fstab. So yeah, here are the errors when I try booting into the generic kernel:
Code: mounting /dev/sda3 on /mnt failed: No such device No /sbin/init found on rootdev (or not mounted) bin/sh: cant access tty: job control turned off
I've tried rebuilding the mkinitrd_command_generator.sh script several times, as well as lilo.conf. But no success I've looked at some similar old threadss here but most of them are related to slackware 12 and older, so I don't know if these issues are related or not.
View 8 Replies
View Related
Jun 10, 2010
I have installed Lynx and want to use two X servers at the same time. Each server has its own ServerLayout section in xorg.cong. The first ServerLayout Section has AutoAddDevices enabled, so that new input devices are added automatically. The second ServerLayout has AutoAddDevices disabled, and one InputDecice pointing to /dev/input/mouse3. That way, this mouse is the only input decive affecting the second X instance.
Unfortunately, this mouse is also controlling the first server (due to AutoAddDecives). Can anyone tell me how to disable this? I want every input device to be added to the first server, except this mouse. In earlier versions of ubuntu, I used a hal rule to make hal ignore this mouse. So it was not added to the first server. Now that hal is not used by lynx anymore, I don't know how to do this. I have already read some things about udev and the xorg.conf.d folder.
View 1 Replies
View Related
Nov 2, 2010
So i insert the ubuntu 10.10 in the dvd and boot it. The menu comes up and i choose to install ubuntu. After that it shows some black screens and this error:
(initramfs)mount:mounting/dev/loop0 on//filesystem.squashfs failed: Input/output error cannot mount /dev/loop0(/cdrom/casper/filesystem.squashfs)on//filesystem.squashfs
The disc aint scratched. I tried installing from Windows but i got another error.
And for some odd reason Ic ant make a removable startup disk:
View 2 Replies
View Related
Oct 21, 2010
I have been trialling Slack 13.1 on a spare 32b system for a couple of weeks, and today I took the plunge and put it on my main machine. I completely re-partitioned the drive (using the Slack disk) and installed Windows7 on one partition and Slack 13.1 on another. The install worked fine and I tested that it boots from LILO into both Windows and Slack perfectly. I then ran:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
And since then it fails to boot with the following:
Code:
VFS: Cannot open root device "802" or unknown block(8,2)
Please append a correct "root=" boot option; here are the available partitions:
0840 488386584 sde driver: sd
0841 97659103 sde1
0842 19535040 sde2
0843 498015 sde3
[Code]....
I have seen many, many similar problems when searching Google but they all seem to be caused by different things.
View 8 Replies
View Related
Jul 18, 2011
I'm trying to install Puppy 525 on my Slackware 13.37 PC as a dual-boot using LILO. Puppy is living, all on it's own, in sda6, a 6 GiB partition. It got there by using the Puppy Universal Installer and selecting a 'Full' install, not a 'Frugal' install. I cannot find 'LILO' type instructions, only 'GRUB' type instructions.
Has anyone succeeded in doing a hard drive install of Puppy with the LILO boot loader?
Edit: I'll probably regret it, but I used Puppy's GRUB installer.
View 17 Replies
View Related
Mar 1, 2010
I'm fairly new to Linux so I'm going to need a step-by-step guide to get me out of this rut. The install of Linux was fine but when I booted up I got this error. VFS: Cannot open root device "302" or unknown-block (3,2) append a correct "root=" boot option;here are the available partitions;
0800 78150744 sda driver:sd
0801 47428608 sda1 <-- this is my Windows partition
0802 30719552 sda2 <-- this is my Linux partition
0b00 1048575 sr0 driver:sr
0b01 1048575 sr1 driver:sr
Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block (3,2) I guessed from reading this error Lilo isn't pointing to the right partition to boot from? How will I fix this? I read another thread about boot problems on these forums and a guy said to do this:
#mkdir /slacktemp
#mount /dev/device /slacktemp
#chroot /slacktemp
#cd /slacktemp/etc <-- for me it told me that doesn't exist
#vi lilo.conf <-- couldn't do nothing and was frozen
#lilo -v -t -b /dev/device
#lilo -v -b /dev/device
The above solution did not work for me. Can anyone shed a light on a Linux rookie?
View 14 Replies
View Related
Sep 3, 2010
Uploaded with ImageShack.us
Here was I get on my screen.
I don't know why this is happened. But before I rebooted, I could not see any content on Windows like update or shut-down (if I tried to install something and it asked for confirmation, that window was blank. Or before I shut down, I had to push enter, since that windows was blank.)
I don't think I installed anything and computer was working just fine before.
I don't want to reinstall everything again.
View 5 Replies
View Related
May 29, 2010
I just did a fresh install of slack 13.1 on a separate drive to the one I was previously using. I've been having trouble getting lilo to work, so that I can choose between either drive. Lilo is currently installed to /dev/sda, with the old system on /dev/sda1 and the new installation on /dev/sdb1. I keep getting errors like these:
Code: Fatal: Trying to map files from unnamed device 0x0011 (NFS/RAID mirror down ?)
I managed to install lilo from the old system by copying the kernel image from the new system into the /boot/ directory and running lilo. I am now on the new system and trying the same thing in reverse but it isn't working. I have searched around a bit and there's a lot of talk of chroot-ing into the other partition to run lilo. I don't understand why the process isn't working both ways though. I can't run lilo on my new installation even with the two kernel images in the local /boot/ folder. Is this something to do with btrfs or am I missing something to do with lilo? This is my lilo.conf file. I am trying to run lilo using this file from my new installation on /dev/sdb1 and getting the error given above.
[Code]...
View 13 Replies
View Related
May 18, 2011
I have the following line in my .Xresources, and it only works when I'm not running KDE:
Code:
XTerm*reverseVideo: true When I start up XTerm in Xfce, TWM, or any other window manager, I get the expected black background. When I launch XTerm in KDE, I get a white background, meaning that the reverseVideo setting is not taking effect. When I'm in KDE, launching XTerm with -rv does give me an XTerm with a black background. Obviously, having to add this switch every time I launch an XTerm in KDE is suboptimal, no matter how you try to automate it. Manually running xrdb -merge ~/.Xresources and then launching XTerm immediately afterwards does not make a difference.
If you're wondering why this is a concern, it's because all 256-color vim color schemes (xoria256, desert256, inkpot) require reverseVideo to be set so that XTerm launches with a black background. You get a black-on-black cursor otherwise.
View 6 Replies
View Related
Jul 14, 2011
Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:
[Code]...
Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7
View 9 Replies
View Related
Jul 24, 2011
Im trying to install a multiboot with multi distros, in this case Slackware and Linux Oracle. I have Slackware running for a while now and try to install it in other partition. Suppose I have Slackware in /dev/hdb and planning to install Oracle Linux in /dev/sda. My plan is:
1.Format /dev/sda
2.Install Oracle Linux in /dev/sda using boot disk
3.Modify lilo.conf
4.Run dual boot
But the problem is during the Oracle Linux boot installation: 1.It doesnt recognize the partition and file format that Slackware did in /dev/sda 2.The installation disk then force me to create another partition for memory swap and root directory 3.At first attempt I created a partition in /dev/sda with RAID format which didnt get recognized by Slackware so that I had it wiped out at the next attempt of installation.4.Just before the process of partitioning /dev/sda, Oracle Linux installer from the boot disk cannot detect my dvd drive although the PC was booted from its very drive (Why?) so It was asking me if I need to point out the location of another copy of the image file, which is located in /dev/sda1. The installer read it from /dev/sda1, I think not from DVD drive. This always happens in all attempts.5.At the end, it cannot finish the process of the installation and I have to abort it, without knowing the reason for it. This happens in all attempts also.
[Code]...
View 4 Replies
View Related
Jul 28, 2010
I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?
View 3 Replies
View Related
Nov 8, 2010
i installed slackware 13.1, previously i had slackware 13, i made the following partitions:
[Code]...
everything went fine until i rebooted slackware after installation. lilo didnt boot at all, just a black screen. i booted with the DVD, and checked the lilo config file. the contents on lilo looks fine, just like any other lilo on google. for example i have this: boot = /dev/sda
i installed lilo on the MBR., i then changed this to boot = /dev/sda1 , on root and nothing same thing lilo always complains at the end: Partition entry not found , but how come , /etc/fstab shows all partitions are mounted ,( i am doing this in KDE environment). i reinstalled again , same thing. I also get a warning: video doesnt not support VESA mode, i changed to vga = normal again it complains that video doesnt support vesa even when i set it to normal, (note that i am running lilo after i made those changes, even rebooting , and same thing happens.
when i installed lilo, it let me choose video modes for the boot screen because lilo showed that my video card supports vesa mode, but then it doesnt boot at all. did slackware 13.1 changed so much that my laptop is no longer supported?? everything was fine with slackware 13 or is it because slackware needs a separate /boot partition, if so how come i just installed slackware 13 with just / and swap?
View 5 Replies
View Related
May 16, 2011
I finally got everything installed and then slackware setup prompted me to reboot. then i did and it just took me back to windowsxpx64. so then i tried booting off my usb, and it worked, however when i login as root, i just get the bash commandline and not interface or programs or anything. i cannot login as any other user and the setup did not prompt me to make another user account. so how would i activate lilo or make it so i can boot with it to slackware? i rather use grub but for now i would just like to get slackware working right.
View 2 Replies
View Related
Jan 10, 2011
I finally installed Slackware and now I have Windows, Slackware and Ubuntu in my laptop. I installed Ubuntu at the last order and at that time GRUB the default loader. But I feel that I'd like to use lilo more, so I booted into Slackware and run "lilo" and then lilo became the default loader.But then I cannot access Ubuntu anymore. Because in lilo there're no information about Ubuntu. So I added some information about Ubuntu according to that of Windows in lilo. But that failed. I still cannot access Ubuntu. I searched for the posts about this problem, and this is what they say:
Quote:
image=/ub/vmlinuz
label=ubuntu
read-only
root=/dev/sda7
initrd=/ub/initrd.img-2.6.28-13-generic
or something like this. But in my slack I cannot find the image or the initrd.
View 1 Replies
View Related
Jul 4, 2010
I have been given a new old computer, Asus K8N-E with a 2GHz AMD Athlon 64.OpenBSD and Debian works like a charm. But with Slackware 13.1, LILO won't be installed properly. There are two disks: a 10GB ATA-drive with the system and a 250GB SATA-drive as a data repository.
Apparently the computer insists that the SATA is the first disk. Subsequently the bootable partition is not on the first disk and disables LILO to be installed. This is when I try to install LILO to a partition. When it is installed to MBR, it says something about overlapping and can't boot.
View 10 Replies
View Related
Nov 20, 2009
I've read that you can fix lilo after a bad edit by booting from install cd1 and entering: Code:boot: bare.i root=/dev/hda X noinitrd ro at the boot prompt. Can someone confirm this or suggest a better way? I'm using slackware 13.
View 3 Replies
View Related
Jun 30, 2010
I'm currently dual-booting slack 13.0 and ubuntu 10.04 When slack was originally installed, I had an earlier version of ubuntu on it, and lilo did not pick up the ubuntu. At that time, I didn't care, because I had no use for the 'old' ubuntu. When I installed ubuntu 10.04, the boot config file (/boot/grub/grub.cfg) did include an entry for slackware. Great! I am looking forward to upgrading slack to 13.1, but I want to make sure this time that I can also boot ubuntu, should I need to use it.
1)Slack installation instructions that would enable me to include the other distro in the initial install
2)Instructions on how to edit andprocess lilo.conf after the slack What follows is a dump of df from the ubunutu 'side'..
Code:
tim@bart:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 52866604 6227476 43953640 13% /
none 1478976 300 1478676 1% /dev
[code]....
View 14 Replies
View Related
Aug 31, 2010
I installed Ubuntu 10.04 on a spare partition, but didn't want to install Grub since I'm sure Ubuntu isn't going to be around for more than a little test drive. The problem I have is that lilo doesn't like the initrd.img file, complaining that it's too large. I'm assuming this file should be in the initrd line for the lilo entry. If someone is booting Ubuntu 10.04 with lilo it would be nice to see the lilo entry or any tips.
View 4 Replies
View Related
Jan 10, 2011
My thread "Can't add Ubuntu into lilo.conf" was merged with this one.That problem has been solved, As I solved that problem, I got several more questions: When applying the changes by run "lilo", there's a warning about "large-memory". How come and how to solve? When loading into lilo, there's a capital character "U" in front of "Ubuntu". At the same time, there's nothing in front of Slackware or Windows. I wonder why. And, now that lilo read the booting info from slackware, if sometimes slackware get collapsed, could I still be able to access lilo? If I can access lilo, can I still boot into the other OSes?
View 4 Replies
View Related
Jun 25, 2010
During the upgrade of my slackware from 13.0 to 13.1 an electric problem happen on my sony laptop. So the upgrade is fine, disk is fine but no time to run the lilo for configure the new boot. Now impossible to boot. I boot on a backtrack live CD, and can't repair my lilo.Is someone could help me. I use slackware since the 3.2 (kheops in french).
View 3 Replies
View Related