And don't forget to edit your fstab. This is mandatory!
This command helps to identify your device names:
ls -l /dev/disk/by-id/
This commands shows the UUID:
ls -l /dev/disk/by-uuid/
Installing Salix in a multi-disk environment
Re: Installing Salix in a multi-disk environment
Ok booted SalixLive CD and mounted root of installed system:
But I can't edit the file due to lack of permissions. Any suggestions.
Edit:
Ignore that just rebooted, tried again and now able to edit fstab. Not sure what I did wrong the first time around.
Code: Select all
su
mkdir /mnt/myroot
mount /dev/sda3 /mnt/myroot
cd /mnt/myroot
nano fstab
Edit:
Ignore that just rebooted, tried again and now able to edit fstab. Not sure what I did wrong the first time around.
Re: Installing Salix in a multi-disk environment
Despite doing a new GUI install which wrote uuid to lilo.conf and editing fstab to use uuids , system still will not boot.
fstab
blkid:
Can anyone see what I have done wrong?
fstab
Code: Select all
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
UUID=0f0a95fe-8559-4d7f-9443-b7c11c210d05 swap swap defaults 0 0
UUID=2968dfff-650e-46ac-9c13-2bb44c1a0892 / ext4 noatime,defaults 1 1
UUID=df1c0c0f-e3ff-4df4-b14c-f82cecb4adbd /boot ext2 noatime,defaults 1 2
UUID=1fd83c61-3dba-4c89-9bb3-9a9b34a2513b /home ext4 noatime,defaults 1 2
Code: Select all
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/sda1: UUID="482C2E412C2E2B00" TYPE="ntfs"
/dev/sda2: LABEL="Spare Primary" UUID="5AE0DE6AE0DE4C3F" TYPE="ntfs"
/dev/sda5: LABEL="xxxx" UUID="0E58FB8E58FB72B7" TYPE="ntfs"
/dev/sda6: LABEL="xxxx" UUID="96C00EF0C00ED681" TYPE="ntfs"
/dev/sda7: LABEL="xxxx" UUID="965C21105C20ECA5" TYPE="ntfs"
/dev/sdb1: UUID="AEF8953EF895062D" TYPE="ntfs"
/dev/sdb2: LABEL="boot" UUID="81165ee6-65a7-4b22-8d77-2c2752cac123" TYPE="ext2"
/dev/sdb3: UUID="74d1d68d-8135-491c-9c4e-9dcca7cd1af8" TYPE="swap"
/dev/sdb4: LABEL="root" UUID="cb95cd92-b626-418b-a4f8-3d86260ac2aa" TYPE="ext4"
/dev/sdc1: UUID="df1c0c0f-e3ff-4df4-b14c-f82cecb4adbd" TYPE="ext2"
/dev/sdc2: UUID="0f0a95fe-8559-4d7f-9443-b7c11c210d05" TYPE="swap"
/dev/sdc3: UUID="2968dfff-650e-46ac-9c13-2bb44c1a0892" TYPE="ext4"
/dev/sdc4: UUID="1fd83c61-3dba-4c89-9bb3-9a9b34a2513b" TYPE="ext4"
Re: Installing Salix in a multi-disk environment
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)gapan wrote:What does "will not boot" mean?
Re: Installing Salix in a multi-disk environment
You need to pass root=/dev/disk/by-uuid/... or root=UUID=... (not sure whether the UUID= one works) to the kernel. Also make sure you built and load an initrd with udev (-u) included. Important!!! Don't use the lilo root= option. Put root=/dev/disk/by-uuid/... into an append or addappend list!!!
Sorry, but that seems to my knowledge about lilosetup impossible. You would have to generate an initrd (with udev), modify the fstab and change the lilo.conf to load that initrd. If you specify the root, boot lilo options with UUIDs it's only used at install time. Lilo resolves it to major/minor, I guess, which is effectively /dev/sdXY. But it definitely looses the uuids for boot-time that way. If you were correctly specifying the uuids so they're used at boot-time, any system without an initrd (with udev) would be broken.Akuna wrote:If you can't access Salix anymore you could boot with SalixLive and execute LiloSetup who will setup UUIDs correctly for you and give you back access to all the OSs that are on your machine.
Re: Installing Salix in a multi-disk environment
I used grub; installed it and used the terminal to run it. I have multiple operating systems on my PC and tonight installed Salix OS. Grub showed my other operating systems on each partition where as prior to running grub I could only see Salix and Vista. All of the partitions with each operating system showed up with grub; but not with the default boot loader.
I installed grub2 and sg2conf to get my other partitions installed with the new grub boot loader..
I installed grub2 and sg2conf to get my other partitions installed with the new grub boot loader..
Zino HD Nettop. Salix, Archbang, Debian, Xubuntu. Openbox, Fvwm and Fluxbox WM.